feat: Update module to Odoo 19 by bumping version, adapting MRP and Stock Picking views, and removing stock valuation layer access rules.
This commit is contained in:
parent
4eee218534
commit
7a0cf23df9
Binary file not shown.
@ -51,5 +51,6 @@ class ResUsers(models.Model):
|
|||||||
allowed_quality_checks = fields.Boolean(
|
allowed_quality_checks = fields.Boolean(
|
||||||
string="Is Allowed todo Quality Checks?",
|
string="Is Allowed todo Quality Checks?",
|
||||||
default=False,
|
default=False,
|
||||||
help="If checked, this user can see the Quality Checks button on Manufacturing Orders."
|
help="If checked, this user can see the Quality Checks button on Manufacturing Orders.",
|
||||||
|
prefetch=False,
|
||||||
)
|
)
|
||||||
|
|||||||
@ -1,16 +1,21 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
<<<<<<< HEAD:views/mrp_production_views.xml
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<!-- Inherit from quality_mrp view -->
|
<!-- Inherit from quality_mrp view -->
|
||||||
<record id="view_mrp_production_form_inherit_access_restriction" model="ir.ui.view">
|
<record id="view_mrp_production_form_inherit_access_restriction" model="ir.ui.view">
|
||||||
=======
|
=======
|
||||||
<record id="mrp_production_view_form_inherit_access_restriction" model="ir.ui.view">
|
<record id="mrp_production_view_form_inherit_access_restriction" model="ir.ui.view">
|
||||||
>>>>>>> 3a96e90 (feat: Hide quality check buttons on manufacturing orders for specific user groups with exceptions for quality roles.)
|
>>>>>>> 3a96e90 (feat: Hide quality check buttons on manufacturing orders for specific user groups with exceptions for quality roles.)
|
||||||
|
=======
|
||||||
|
<record id="mrp_production_view_form_inherit_access_restriction_v19" model="ir.ui.view">
|
||||||
|
>>>>>>> 5091c7f (feat: Update module to Odoo 19 by bumping version, adapting MRP and Stock Picking views, and removing stock valuation layer access rules.):views/mrp_production_v19.xml
|
||||||
<field name="name">mrp.production.view.form.inherit.access.restriction</field>
|
<field name="name">mrp.production.view.form.inherit.access.restriction</field>
|
||||||
<field name="model">mrp.production</field>
|
<field name="model">mrp.production</field>
|
||||||
<field name="priority">99999</field>
|
<field name="priority">99999</field>
|
||||||
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
|
<<<<<<< HEAD:views/mrp_production_views.xml
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<field name="state" position="before">
|
<field name="state" position="before">
|
||||||
@ -38,8 +43,11 @@
|
|||||||
=======
|
=======
|
||||||
<xpath expr="//sheet" position="inside">
|
<xpath expr="//sheet" position="inside">
|
||||||
>>>>>>> 4a049d1 (feat: Implement user-specific control for quality check button visibility on manufacturing orders and inventory transfers via a new `allowed_quality_checks` field on users.)
|
>>>>>>> 4a049d1 (feat: Implement user-specific control for quality check button visibility on manufacturing orders and inventory transfers via a new `allowed_quality_checks` field on users.)
|
||||||
|
=======
|
||||||
|
<sheet position="inside">
|
||||||
|
>>>>>>> 5091c7f (feat: Update module to Odoo 19 by bumping version, adapting MRP and Stock Picking views, and removing stock valuation layer access rules.):views/mrp_production_v19.xml
|
||||||
<field name="hide_quality_check_button" invisible="1"/>
|
<field name="hide_quality_check_button" invisible="1"/>
|
||||||
</xpath>
|
</sheet>
|
||||||
<xpath expr="//button[@name='check_quality']" position="attributes">
|
<xpath expr="//button[@name='check_quality']" position="attributes">
|
||||||
<attribute name="invisible">hide_quality_check_button</attribute>
|
<attribute name="invisible">hide_quality_check_button</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
<<<<<<< HEAD:views/stock_picking_views.xml
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<!-- Inherit from the quality control view that adds the button -->
|
<!-- Inherit from the quality control view that adds the button -->
|
||||||
<!-- We need to ensure we target the right buttons. The Quality Checks button is added by quality_control/views/stock_picking_views.xml -->
|
<!-- We need to ensure we target the right buttons. The Quality Checks button is added by quality_control/views/stock_picking_views.xml -->
|
||||||
@ -35,6 +36,9 @@
|
|||||||
|
|
||||||
=======
|
=======
|
||||||
<record id="stock_picking_view_form_inherit_access_restriction" model="ir.ui.view">
|
<record id="stock_picking_view_form_inherit_access_restriction" model="ir.ui.view">
|
||||||
|
=======
|
||||||
|
<record id="stock_picking_view_form_inherit_access_restriction_v19" model="ir.ui.view">
|
||||||
|
>>>>>>> 5091c7f (feat: Update module to Odoo 19 by bumping version, adapting MRP and Stock Picking views, and removing stock valuation layer access rules.):views/stock_picking_v19.xml
|
||||||
<field name="name">stock.picking.view.form.inherit.access.restriction</field>
|
<field name="name">stock.picking.view.form.inherit.access.restriction</field>
|
||||||
<field name="model">stock.picking</field>
|
<field name="model">stock.picking</field>
|
||||||
<field name="priority">1000</field>
|
<field name="priority">1000</field>
|
||||||
Loading…
Reference in New Issue
Block a user