feat: Reposition the reason field in stock move line and quant views, and add a .gitignore file.
This commit is contained in:
parent
8bccc3e53d
commit
84acfd8b36
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Python
|
||||||
|
*.py[cod]
|
||||||
|
__pycache__/
|
||||||
|
*.so
|
||||||
|
|
||||||
|
# Odoo
|
||||||
|
*.po~
|
||||||
|
*.pot~
|
||||||
|
|
||||||
|
# Editor / System
|
||||||
|
.DS_Store
|
||||||
|
.vscode/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
@ -7,7 +7,7 @@
|
|||||||
<field name="model">stock.move.line</field>
|
<field name="model">stock.move.line</field>
|
||||||
<field name="inherit_id" ref="stock.view_move_line_tree" />
|
<field name="inherit_id" ref="stock.view_move_line_tree" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="company_id" position="after">
|
<field name="quantity" position="after">
|
||||||
<field
|
<field
|
||||||
name="reason"
|
name="reason"
|
||||||
groups="!stock_change_qty_reason.group_qty_reason_preset"
|
groups="!stock_change_qty_reason.group_qty_reason_preset"
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<field name="model">stock.quant</field>
|
<field name="model">stock.quant</field>
|
||||||
<field name="inherit_id" ref="stock.view_stock_quant_tree_inventory_editable" />
|
<field name="inherit_id" ref="stock.view_stock_quant_tree_inventory_editable" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<button name="action_inventory_history" position="before">
|
<field name="inventory_diff_quantity" position="after">
|
||||||
<field
|
<field
|
||||||
name="reason"
|
name="reason"
|
||||||
invisible="not inventory_quantity_set"
|
invisible="not inventory_quantity_set"
|
||||||
@ -18,7 +18,7 @@
|
|||||||
string="Reason"
|
string="Reason"
|
||||||
groups="stock_change_qty_reason.group_qty_reason_preset"
|
groups="stock_change_qty_reason.group_qty_reason_preset"
|
||||||
/>
|
/>
|
||||||
</button>
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user