-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add link to Stock Demand Estimates from Stock Buffer - Add link to MRP BoM from Stock Buffer - Add link to Stock Buffers from Product Variants - Add link to Stock Buffer from MRP BoM Line
- Loading branch information
1 parent
2e85155
commit 61a1f99
Showing
6 changed files
with
101 additions
and
7 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
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
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
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
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,30 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
|
||
<record id="product_normal_form_view_inherit" model="ir.ui.view"> | ||
<field name="name">product.product.form.inherit</field> | ||
<field name="model">product.product</field> | ||
<field name="inherit_id" ref="product.product_normal_form_view" /> | ||
<field name="arch" type="xml"> | ||
<xpath | ||
expr="//div[@name='button_box']/button[@name='action_view_mrp_area_parameters']" | ||
position="after" | ||
> | ||
<button | ||
type="object" | ||
name="action_view_stock_buffers" | ||
class="oe_stat_button" | ||
icon="fa-flask" | ||
attrs="{'invisible': [('buffer_count', '=', 0)]}" | ||
> | ||
<field | ||
name="buffer_count" | ||
widget="statinfo" | ||
string="Stock Buffers" | ||
/> | ||
</button> | ||
</xpath> | ||
</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