mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-27 04:02:02 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="view_location_form_inherit" model="ir.ui.view">
|
||||
<field name="name">stock.location.form.inherit</field>
|
||||
<field name="model">stock.location</field>
|
||||
<field name="inherit_id" ref="stock.view_location_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='additional_info']" position="after">
|
||||
<div>
|
||||
<group string="Accounting Information" invisible="usage not in ('inventory', 'production')">
|
||||
<label for="valuation_account_id" string="Cost of Production" invisible="usage != 'production'"/>
|
||||
<label for="valuation_account_id" string="Loss Account" invisible="usage != 'inventory'"/>
|
||||
<field name="valuation_account_id" nolabel="1" options="{'no_create': True}"/>
|
||||
</group>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue