diff --git a/__manifest__.py b/__manifest__.py index dfdff4a8fc40cc7e72078314dd58575859685573..e0e98323e5a5f13a63462ee35806b1ea695a1de0 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -14,6 +14,7 @@ # views "views/account_move.xml", "views/account_journal.xml", + "views/product.xml", "views/res_company.xml", ], "qweb": [], diff --git a/views/product.xml b/views/product.xml new file mode 100644 index 0000000000000000000000000000000000000000..571992b00065007d0a0004b487a19a2186fe16df --- /dev/null +++ b/views/product.xml @@ -0,0 +1,13 @@ +<?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="account.product_product_action_sellable" model="ir.actions.act_window"> + <field name="context">{'search_default_filter_to_sell': 1, 'default_company_id': allowed_company_ids[0]}</field> + </record> + + </data> +</odoo>