17.03.26
This commit is contained in:
@@ -312,6 +312,7 @@ class AutomationCron(ModelSQL, ModelView):
|
|||||||
ShipmentIn.save([shipment])
|
ShipmentIn.save([shipment])
|
||||||
inv_date,inv_nb = shipment._create_lots_from_fintrade()
|
inv_date,inv_nb = shipment._create_lots_from_fintrade()
|
||||||
shipment.controller = shipment.get_controller()
|
shipment.controller = shipment.get_controller()
|
||||||
|
shipment.controller_target = controller
|
||||||
shipment.create_fee(shipment.controller)
|
shipment.create_fee(shipment.controller)
|
||||||
shipment.instructions = shipment.get_instructions_html(inv_date,inv_nb)
|
shipment.instructions = shipment.get_instructions_html(inv_date,inv_nb)
|
||||||
ShipmentIn.save([shipment])
|
ShipmentIn.save([shipment])
|
||||||
|
|||||||
@@ -441,6 +441,7 @@ class ShipmentIn(metaclass=PoolMeta):
|
|||||||
)
|
)
|
||||||
shipment_wr = fields.One2Many('shipment.wr','shipment_in',"WR")
|
shipment_wr = fields.One2Many('shipment.wr','shipment_in',"WR")
|
||||||
controller = fields.Many2One('party.party',"Controller")
|
controller = fields.Many2One('party.party',"Controller")
|
||||||
|
controller_target = fields.Char("Targeted controller")
|
||||||
send_instruction = fields.Boolean("Send instruction")
|
send_instruction = fields.Boolean("Send instruction")
|
||||||
instructions = fields.Text("Instructions")
|
instructions = fields.Text("Instructions")
|
||||||
add_bl = fields.Boolean("Add BL")
|
add_bl = fields.Boolean("Add BL")
|
||||||
|
|||||||
@@ -115,6 +115,8 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
<page string="Weight Report" col="4" id="wr">
|
<page string="Weight Report" col="4" id="wr">
|
||||||
<label name="controller"/>
|
<label name="controller"/>
|
||||||
<field name="controller"/>
|
<field name="controller"/>
|
||||||
|
<label name="controller_target"/>
|
||||||
|
<field name="controller_target"/>
|
||||||
<button name="send" string="Send email to controller"/>
|
<button name="send" string="Send email to controller"/>
|
||||||
<newline/>
|
<newline/>
|
||||||
<label name="add_bl"/>
|
<label name="add_bl"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user