Skip to content
Snippets Groups Projects
Commit 8dcee0a1 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[add] default company on product

parent 2f03d53b
Branches
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"data/membership_sequence.xml", "data/membership_sequence.xml",
# views # views
"views/membership_membership_line.xml", "views/membership_membership_line.xml",
"views/product.xml",
"views/res_partner.xml", "views/res_partner.xml",
# templates # templates
"templates/report_invoice_document.xml", "templates/report_invoice_document.xml",
......
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<!-- Action -->
<record id="membership.action_membership_products" model="ir.actions.act_window">
<field name="context">{'membership':True, 'type':'service', 'default_membership': True, 'default_type': 'service', 'default_company_id': allowed_company_ids[0]}</field>
</record>
</data>
</odoo>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment