Bug Fixes
This commit is contained in:
parent
819a3ce506
commit
894d428c04
Binary file not shown.
|
|
@ -1008,3 +1008,14 @@ class dsscontracts(models.Model):
|
|||
self.client.phone = self.client_short_telefon
|
||||
self.client.mobile = self.client_short_mobil
|
||||
self.client.email = self.client_short_email
|
||||
|
||||
def pyaction_dss_contract_update_short_from_partner(self):
|
||||
self.client_short_company=self.client.company_name
|
||||
self.client_short_vorname=self.client.dsspartner_vorname
|
||||
self.client_short_name=self.client.dsspartner_name
|
||||
self.client_short_strasse=self.client.street
|
||||
self.client_short_ort=self.client.city
|
||||
self.client_short_plz=self.client.zip
|
||||
self.client_short_telefon=self.client.phone
|
||||
self.client_short_mobil=self.client.mobile
|
||||
self.client_short_email=self.client.email
|
||||
|
|
|
|||
|
|
@ -388,6 +388,7 @@
|
|||
<div class="row" string="Kundendaten Kundenverwaltung" name="contact_edit" attrs="{'invisible':[('client','=',False)]}">
|
||||
<div class="mw-sm-100">
|
||||
<button string="zum Kunde wechseln" name="pyaction_dss_contract_goto_partner" type="object" class="btn-primary o_open_tasks" data-hotkey="m"/>
|
||||
<button string="Infos aus Kunde lesen" name="pyaction_dss_contract_update_short_from_partner" type="object" class="btn-primary o_open_tasks"/>
|
||||
</div>
|
||||
<br></br>
|
||||
<br></br>
|
||||
|
|
|
|||
Loading…
Reference in New Issue