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"
|
||||
|
||||
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})
|
||||
|
||||
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')
|
||||
|
||||
current_interest = fields.Selection(
|
||||
@ -36,7 +34,6 @@ class ProspectTrace(DeactivableMixin, ModelSQL, ModelView):
|
||||
def default_state(cls):
|
||||
return 'open'
|
||||
|
||||
# 'pending_calls'
|
||||
@fields.depends('calls', 'pending_call', 'current_interest', 'state')
|
||||
def on_change_calls(self):
|
||||
if not self.calls:
|
||||
|
@ -4,7 +4,4 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
|
||||
<!-- <label name="prospect_trace"/>
|
||||
<field name="prospect_trace"/> -->
|
||||
</form>
|
@ -3,5 +3,4 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="date" expand="1"/>
|
||||
<!-- <field name="prospect_trace" expand="1"/> -->
|
||||
</tree>
|
@ -25,7 +25,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
</page>
|
||||
</notebook>
|
||||
|
||||
<!-- <field name="pending_calls" colspan="6"/> -->
|
||||
<field name="pending_call" colspan="6"/>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
</form>
|
@ -7,5 +7,5 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="prospect_city" expand="1"/>
|
||||
<field name="current_interest" expand="1"/>
|
||||
<field name="calls" expand="1"/>
|
||||
<!-- <field name="pending_calls" expand="1"/> -->
|
||||
<field name="pending_call" expand="1"/>
|
||||
</tree>
|
Loading…
Reference in New Issue
Block a user