summaryrefslogtreecommitdiff
path: root/addons/purchase/purchase_view.xml
diff options
context:
space:
mode:
authorMahendra barad <mba@openerp.com>2015-05-14 15:31:34 +0530
committerJosse Colpaert <jco@odoo.com>2015-06-23 14:00:43 +0200
commit75d7bbb46e100b7ffda091a11183d4ed14d3bbed (patch)
tree107ccd62ba2aef250d3110dd9070996ec4ecf668 /addons/purchase/purchase_view.xml
parentbfbc22cdc20c88889661bb68d6321ec61fda4d0b (diff)
[REF]Account: Refactoring the account, Change some fields name according to new api guidelines
code improvement code improvement payment_method to payment_method_id writeoff_account to writeoff_account_id property_account_receivable to property_account_receivable_id property_account_payable to property_account_payable_id property_account_expense_categ to property_account_expense_categ_id property_account_income_categ to property_account_income_categ_id property_account_expense to property_account_expense_id property_account_income to property_account_income_id property_account_expense_categ fix sale_tax to sale_tax_id and default_sale_tax to default_sale_tax_id purchase_tax to purchase_tax_id and default_purchase_tax to default_purchase_tax_id ref_companies to ref_companies_ids property_account_position to property_account_position_id property_payment_term to property_payment_term_id property_supplier_payment_term to property_supplier_payment_term_id bank_accounts_id to bank_accounts_ids payment_method fix after rebase user_type after rebase payment_method fix after rebase after rebase invoice to invoice_id fix payment_method_id after rebase code improvement [IMP]user_type to user_type_id [IMP]property_stock_account_input_categ, property_stock_account_output_categ to _id [IMP]improve after rebase [IMP]fix type [IMP]Account: code improvement
Diffstat (limited to 'addons/purchase/purchase_view.xml')
-rw-r--r--addons/purchase/purchase_view.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index bf0b233f7d1..95caccf0843 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -661,7 +661,7 @@
<field name="inherit_id" ref="account.view_category_property_form"/>
<field name="arch" type="xml">
<data>
- <xpath expr="//field[@name='property_account_income_categ']" position="before">
+ <xpath expr="//field[@name='property_account_income_categ_id']" position="before">
<field name="property_account_creditor_price_difference_categ" domain="[('deprecated','=',False)]"/>
</xpath>
</data>
@@ -680,8 +680,8 @@
<field name="model">product.template</field>
<field name="inherit_id" ref="account.product_template_form_view"/>
<field name="arch" type="xml">
- <field name="property_account_expense" position="replace" >
- <field name="property_account_expense" domain="[('deprecated','=',False)]" attrs="{'readonly': [('purchase_ok', '=', 0)]}" groups="account.group_account_user"/>
+ <field name="property_account_expense_id" position="replace" >
+ <field name="property_account_expense_id" domain="[('deprecated','=',False)]" attrs="{'readonly': [('purchase_ok', '=', 0)]}" groups="account.group_account_user"/>
</field>
<field name='supplier_taxes_id' position="replace" >
<field name="supplier_taxes_id" colspan="2" widget="many2many_tags" attrs="{'readonly':[('purchase_ok','=',0)]}"/>
@@ -724,7 +724,7 @@
<field name="model">product.template</field>
<field name="inherit_id" ref="account.product_template_form_view"/>
<field name="arch" type="xml">
- <field name="property_account_expense" position="after">
+ <field name="property_account_expense_id" position="after">
<label string="" colspan="2"/>
<field name="property_account_creditor_price_difference" domain="[('deprecated','=',False)]" attrs="{'readonly':[('purchase_ok', '=', 0)]}" />
<newline/>