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