diff --git a/__manifest__.py b/__manifest__.py index 42f1ce755dd42450165fb0a4ce9584527affe842..a5ce9a6aa89e966a7aa6720a3357f151a44c5a07 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -26,10 +26,7 @@ "report/report_program.xml", ], "assets": { - "web.assets_common": [ - "lefilament_training/static/src/scss/style.scss", - ], - "web.report_assets_pdf": [ + "web.report_assets_common": [ "lefilament_training/static/src/scss/style.scss", ], }, diff --git a/views/account_move_view.xml b/views/account_move_view.xml index c140ee8d9bcc38927f39488657250acfd8ec3be4..41d4e7a954be951177dd057b5d20d01a39b69f41 100644 --- a/views/account_move_view.xml +++ b/views/account_move_view.xml @@ -13,7 +13,7 @@ <field name="training_id" domain="['|', ('customer_id', '=', partner_id), ('opco_id', '=', partner_id)]" - options="{ 'no_create_edit': True, }" + options="{ 'no_create': True, }" /> </xpath> </field> diff --git a/views/sale_order_view.xml b/views/sale_order_view.xml index 37cf14056019b27cbe522b0adf625f2e98a3819b..9f911477a1b5cb2fc45befc857da69eb153a4403 100644 --- a/views/sale_order_view.xml +++ b/views/sale_order_view.xml @@ -13,7 +13,7 @@ <field name="training_id" domain="['|', ('customer_id', '=', partner_id), ('opco_id', '=', partner_id)]" - options="{ 'no_create_edit': True, }" + options="{ 'no_create': True, }" /> </xpath> </field>