feat: Se hacen vistas a asistente de reasignación por operario, #53
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
3d77056e6f
commit
ed07f5fcbc
@ -173,8 +173,10 @@ class ReassignProspectByOperatorStart(ModelView):
|
||||
'Inicio de reasignación de prospecto por operario'
|
||||
__name__ = 'sale.prospect.reassign_by_operator.start'
|
||||
|
||||
current_operator = fields.Many2One('res.user', "Current operator")
|
||||
new_operator = fields.Many2One('res.user', "New operator")
|
||||
current_operator = fields.Many2One(
|
||||
'res.user', "Current operator", required=True)
|
||||
new_operator = fields.Many2One(
|
||||
'res.user', "New operator", required=True)
|
||||
prospects = fields.One2Many(
|
||||
'sale.prospect', None, 'Prospects', readonly=True)
|
||||
|
||||
|
10
prospect.xml
10
prospect.xml
@ -159,10 +159,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="type">form</field>
|
||||
<field name="name">reassign_by_operator_form</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="reassign_by_operator_wizard_keyword">
|
||||
<field name="keyword">form_action</field>
|
||||
<field name="model">sale.prospect, -1</field>
|
||||
<field name="action" ref="reassign_by_operator_wizard"/>
|
||||
</record>
|
||||
<menuitem
|
||||
parent="menu_prospects_tree"
|
||||
sequence="50"
|
||||
id="menu_reassign_by_operator_wizard"
|
||||
action="reassign_by_operator_wizard"/>
|
||||
</data>
|
||||
</tryton>
|
||||
|
@ -2,5 +2,9 @@
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
|
||||
<label name="current_operator"/>
|
||||
<field name="current_operator"/>
|
||||
<label name="new_operator"/>
|
||||
<field name="new_operator"/>
|
||||
<field name="prospects" colspan="6"/>
|
||||
</form>
|
Loading…
Reference in New Issue
Block a user