chore: Se remueve código muerto luego de refactorizar
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
1d38d797c5
commit
d7d5c95b29
@ -8,4 +8,3 @@ class PendingCall(ModelSQL, ModelView):
|
|||||||
__name__ = "sale.pending_call"
|
__name__ = "sale.pending_call"
|
||||||
|
|
||||||
date = fields.Date('Date', required=True)
|
date = fields.Date('Date', required=True)
|
||||||
# prospect_trace = fields.Many2One('sale.prospect_trace', 'Prospect trace')
|
|
||||||
|
@ -18,8 +18,6 @@ class ProspectTrace(DeactivableMixin, ModelSQL, ModelView):
|
|||||||
states={'readonly': True})
|
states={'readonly': True})
|
||||||
|
|
||||||
calls = fields.One2Many('sale.call', 'prospect_trace', 'Calls')
|
calls = fields.One2Many('sale.call', 'prospect_trace', 'Calls')
|
||||||
# pending_calls = fields.One2Many(
|
|
||||||
# 'sale.pending_call', 'prospect_trace', 'Pending calls')
|
|
||||||
pending_call = fields.Many2One('sale.pending_call', 'Pending call')
|
pending_call = fields.Many2One('sale.pending_call', 'Pending call')
|
||||||
|
|
||||||
current_interest = fields.Selection(
|
current_interest = fields.Selection(
|
||||||
@ -36,7 +34,6 @@ class ProspectTrace(DeactivableMixin, ModelSQL, ModelView):
|
|||||||
def default_state(cls):
|
def default_state(cls):
|
||||||
return 'open'
|
return 'open'
|
||||||
|
|
||||||
# 'pending_calls'
|
|
||||||
@fields.depends('calls', 'pending_call', 'current_interest', 'state')
|
@fields.depends('calls', 'pending_call', 'current_interest', 'state')
|
||||||
def on_change_calls(self):
|
def on_change_calls(self):
|
||||||
if not self.calls:
|
if not self.calls:
|
||||||
|
@ -4,7 +4,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
<form>
|
<form>
|
||||||
<label name="date"/>
|
<label name="date"/>
|
||||||
<field name="date"/>
|
<field name="date"/>
|
||||||
|
|
||||||
<!-- <label name="prospect_trace"/>
|
|
||||||
<field name="prospect_trace"/> -->
|
|
||||||
</form>
|
</form>
|
@ -3,5 +3,4 @@
|
|||||||
this repository contains the full copyright notices and license terms. -->
|
this repository contains the full copyright notices and license terms. -->
|
||||||
<tree>
|
<tree>
|
||||||
<field name="date" expand="1"/>
|
<field name="date" expand="1"/>
|
||||||
<!-- <field name="prospect_trace" expand="1"/> -->
|
|
||||||
</tree>
|
</tree>
|
@ -25,7 +25,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
</page>
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
|
|
||||||
<!-- <field name="pending_calls" colspan="6"/> -->
|
<field name="pending_call" colspan="6"/>
|
||||||
<label name="state"/>
|
<label name="state"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
</form>
|
</form>
|
@ -7,5 +7,5 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
<field name="prospect_city" expand="1"/>
|
<field name="prospect_city" expand="1"/>
|
||||||
<field name="current_interest" expand="1"/>
|
<field name="current_interest" expand="1"/>
|
||||||
<field name="calls" expand="1"/>
|
<field name="calls" expand="1"/>
|
||||||
<!-- <field name="pending_calls" expand="1"/> -->
|
<field name="pending_call" expand="1"/>
|
||||||
</tree>
|
</tree>
|
Loading…
Reference in New Issue
Block a user