Skip to content

Commit

Permalink
[IMP] Included incoterm at stock picking view.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed May 19, 2021
1 parent 53b2f80 commit 8ed1268
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions l10n_br_delivery/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
'views/l10n_br_delivery_view.xml',
'views/sale_order_view.xml',
"views/account_incoterms_view.xml",
'views/stock_picking_view.xml',
# Security
'security/ir.model.access.csv',
],
Expand Down
16 changes: 16 additions & 0 deletions l10n_br_delivery/views/stock_picking_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="l10n_br_delivery-view_picking_withcarrier_out_form" model="ir.ui.view">
<field name="name">l10n_br_delivery.picking.form</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="delivery.view_picking_withcarrier_out_form"/>
<field name="priority">99</field>
<field name="arch" type="xml">
<field name="carrier_id" position="before">
<field name="incoterm_id"/>
</field>
</field>
</record>

</odoo>

0 comments on commit 8ed1268

Please sign in to comment.