-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[14.0][ADD] mrp_sale_info_usability: Make optional show the fields cr…
…eated by mrp_sale_info in production orders.
- Loading branch information
Showing
7 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
======================= | ||
MRP Sale Info Usability | ||
======================= | ||
|
||
Make optional show the fields created by mrp_sale_info in production orders. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/avanzosc/mrp-addons/issues>`_. In case of trouble, | ||
please check there if your issue has already been reported. If you spotted | ||
it first, help us smash it by providing detailed and welcomed feedback. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Berezi Amubieta <[email protected]> | ||
* Ana Juaristi <[email protected]> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright 2024 Berezi Amubieta - AvanzOSC | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "MRP Sale Info Usability", | ||
"version": "14.0.1.0.0", | ||
"author": "Avanzosc", | ||
"category": "Manufacturing/Manufacturing", | ||
"website": "https://github.com/avanzosc/mrp-addons", | ||
"depends": [ | ||
"mrp_sale_info", | ||
], | ||
"data": [ | ||
"views/mrp_production_view.xml", | ||
"views/mrp_workorder_view.xml", | ||
], | ||
"license": "AGPL-3", | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="mrp_production_tree_view" model="ir.ui.view"> | ||
<field name="model">mrp.production</field> | ||
<field name="inherit_id" ref="mrp_sale_info.mrp_production_tree_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="sale_id" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
<field name="partner_id" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
<field name="commitment_date" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
<field name="client_order_ref" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="mrp_production_workorder_tree_view_inherit" model="ir.ui.view"> | ||
<field name="model">mrp.workorder</field> | ||
<field | ||
name="inherit_id" | ||
ref="mrp_sale_info.mrp_production_workorder_tree_view_inherit" | ||
/> | ||
<field name="arch" type="xml"> | ||
<field name="sale_id" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
<field name="partner_id" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
<field name="commitment_date" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
<field name="client_order_ref" position="attributes"> | ||
<attribute name="optional">show</attribute> | ||
</field> | ||
</field> | ||
</record> | ||
</odoo> |
1 change: 1 addition & 0 deletions
1
setup/mrp_sale_info_usability/odoo/addons/mrp_sale_info_usability
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../mrp_sale_info_usability |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |