Skip to content

Commit

Permalink
[IMP] Defined to show Incoterm at Sale Order and Invoice.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed May 19, 2021
1 parent 8ed1268 commit 10dc380
Show file tree
Hide file tree
Showing 2 changed files with 14 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 @@ -17,6 +17,7 @@
],
'data': [
# Data
'data/res_config_settings_data.xml',
'data/account_incoterms_data.xml',
# View
'views/carrier.xml',
Expand Down
13 changes: 13 additions & 0 deletions l10n_br_delivery/data/res_config_settings_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">

<record id="l10n_br_delivery_config_settings" model="res.config.settings">
<field name="group_display_incoterm">True</field>
</record>

<function model="res.config.settings" name="execute">
<value model="res.config.settings"
search="[('id', '=', ref('l10n_br_delivery_config_settings'))]"/>
</function>

</odoo>

0 comments on commit 10dc380

Please sign in to comment.