Use category accounts. Default True
This commit is contained in:
parent
f7107af34f
commit
61422edcf9
|
@ -4,3 +4,5 @@ Producto en un click
|
|||
|
||||
Dispone de un asistente que permite crear un nuevo producto (con los campos básicos)
|
||||
de forma rapidamente.
|
||||
|
||||
* Usar cuentas de la categoría. Por defecto se usará el producto la cuenta de la categoría.
|
||||
|
|
|
@ -2,3 +2,5 @@ Product OneClick Module
|
|||
#######################
|
||||
|
||||
This module adds a wizard to allow the creation of new product (with basic fields) in just One click.
|
||||
|
||||
* Use Category's accounts. Default product use account defined in category.
|
||||
|
|
|
@ -127,6 +127,7 @@ class ProductOneClick(Wizard):
|
|||
'cost_price': vals.cost_price or 0,
|
||||
'cost_price_method': vals.cost_price_method,
|
||||
'default_uom': vals.default_uom,
|
||||
'account_category': True,
|
||||
}
|
||||
if vals.salable:
|
||||
values.update({
|
||||
|
|
Loading…
Reference in New Issue