Bug Fixes

This commit is contained in:
jopster 2025-04-01 11:08:21 +02:00
parent 819a3ce506
commit 894d428c04
3 changed files with 13 additions and 1 deletions

View File

@ -1007,4 +1007,15 @@ class dsscontracts(models.Model):
self.client.zip = self.client_short_plz self.client.zip = self.client_short_plz
self.client.phone = self.client_short_telefon self.client.phone = self.client_short_telefon
self.client.mobile = self.client_short_mobil self.client.mobile = self.client_short_mobil
self.client.email = self.client_short_email 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

View File

@ -388,6 +388,7 @@
<div class="row" string="Kundendaten Kundenverwaltung" name="contact_edit" attrs="{'invisible':[('client','=',False)]}"> <div class="row" string="Kundendaten Kundenverwaltung" name="contact_edit" attrs="{'invisible':[('client','=',False)]}">
<div class="mw-sm-100"> <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="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> </div>
<br></br> <br></br>
<br></br> <br></br>