Bug Fixes
This commit is contained in:
parent
5a181ae12d
commit
819a3ce506
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -995,3 +995,16 @@ class dsscontracts(models.Model):
|
||||||
|
|
||||||
def pyaction_vnoxx_action3(self):
|
def pyaction_vnoxx_action3(self):
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
def pyaction_dss_contract_update_partner(self):
|
||||||
|
self.client.company_name = self.client_short_company
|
||||||
|
self.client.dsspartner_vorname = self.client_short_vorname
|
||||||
|
self.client.dsspartner_name = self.client_short_name
|
||||||
|
self.client.dsspartner = True,
|
||||||
|
self.client.dsspartner_werbung = True
|
||||||
|
self.client.street = self.client_short_strasse
|
||||||
|
self.client.city = self.client_short_ort
|
||||||
|
self.client.zip = self.client_short_plz
|
||||||
|
self.client.phone = self.client_short_telefon
|
||||||
|
self.client.mobile = self.client_short_mobil
|
||||||
|
self.client.email = self.client_short_email
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import uuid
|
||||||
from odoo import api, fields, models, _
|
from odoo import api, fields, models, _
|
||||||
from odoo import tools
|
from odoo import tools
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -413,7 +413,7 @@
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<span><bold>² - Kunde wird über Kontaktmanager verwaltet .. Bitte Daten dort ändern ... </bold></span>
|
<span><bold>² - Kunde wird über Kontaktmanager verwaltet .. Bitte Daten unter Interne Informationen ändern und Kunde Updaten ... </bold></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" string="Kundendaten Schnellanlage" name="client_short_edit" attrs="{'invisible':[('client','!=',False)]}">
|
<div class="row" string="Kundendaten Schnellanlage" name="client_short_edit" attrs="{'invisible':[('client','!=',False)]}">
|
||||||
|
|
@ -540,7 +540,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4">
|
<div class="col-4">
|
||||||
<group>
|
<group>
|
||||||
<field name="start_date" string="1.Kampagne - Datum 1. Ausstrahlung "/>
|
<field name="start_date" string="Vertragsstart - Datum 1. Ausstrahlung "/>
|
||||||
</group>
|
</group>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -896,6 +896,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<button string="Kunde updaten" name="pyaction_dss_contract_update_partner" type="object" class="btn-primary o_open_tasks"/>
|
||||||
</page>
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
</page>
|
</page>
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
<field name="priority" eval="17"/>
|
<field name="priority" eval="17"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="Vertragsuebersicht">
|
<tree string="Vertragsuebersicht">
|
||||||
|
<field name="uuid"/>
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
@ -36,6 +37,7 @@
|
||||||
<form>
|
<form>
|
||||||
<sheet>
|
<sheet>
|
||||||
<group name="interval" string="Intervaldaten">
|
<group name="interval" string="Intervaldaten">
|
||||||
|
<field name="uuid"/>
|
||||||
</group>
|
</group>
|
||||||
</sheet>
|
</sheet>
|
||||||
<div class="oe_chatter">
|
<div class="oe_chatter">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue