type='many2one',
relation='account.account',
string="Price Difference Account",
- method=True,
view_load=True,
- help="This account will be used to value price difference between purchase price and cost price."),
+ help="This account will be used to value price difference between purchase price and cost price."),
+
+ #Redefine fields to change help text for anglo saxon methodology.
+ 'property_account_income_categ': fields.property(
+ 'account.account',
+ type='many2one',
+ relation='account.account',
+ string="Income Account",
+ view_load=True,
+ help="This account will be used to value outgoing stock for the current product category using sale price"),
+ 'property_account_expense_categ': fields.property(
+ 'account.account',
+ type='many2one',
+ relation='account.account',
+ string="Expense Account",
+ view_load=True,
+ help="This account will be used to value outgoing stock for the current product category using cost price"),
}
product_category()
type='many2one',
relation='account.account',
string="Price Difference Account",
- method=True,
view_load=True,
- help="This account will be used to value price difference between purchase price and cost price."),
+ help="This account will be used to value price difference between purchase price and cost price."),
+
+ #Redefine fields to change help text for anglo saxon methodology.
+ 'property_account_income': fields.property(
+ 'account.account',
+ type='many2one',
+ relation='account.account',
+ string="Income Account",
+ view_load=True,
+ help="This account will be used to value outgoing stock for the current product category using sale price"),
+ 'property_account_expense': fields.property(
+ 'account.account',
+ type='many2one',
+ relation='account.account',
+ string="Expense Account",
+ view_load=True,
+ help="This account will be used to value outgoing stock for the current product category using cost price"),
}
product_template()