From acd61272e4fe71f3e48d9b9a173b4de41ea4a118 Mon Sep 17 00:00:00 2001 From: ced <> Date: Tue, 13 Mar 2007 13:12:19 +0000 Subject: [PATCH] ACCOUNT: product_id is not required bzr revid: ced-ee087bb2aad410f716fc8a4d1bbeca39197fad4e --- addons/account/account_analytic_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_analytic_line.py b/addons/account/account_analytic_line.py index 4ca008303ef..8e0938e6f00 100644 --- a/addons/account/account_analytic_line.py +++ b/addons/account/account_analytic_line.py @@ -42,7 +42,7 @@ class account_analytic_line(osv.osv): 'amount' : fields.float('Amount', required=True), 'unit_amount' : fields.float('Quantity'), 'product_uom_id' : fields.many2one('product.uom', 'UoM'), - 'product_id' : fields.many2one('product.product', 'Product', required=True), + 'product_id' : fields.many2one('product.product', 'Product'), 'account_id' : fields.many2one('account.analytic.account', 'Analytic Account', required=True, ondelete='cascade', select=True), 'general_account_id' : fields.many2one('account.account', 'General account', required=True, ondelete='cascade'), 'move_id' : fields.many2one('account.move.line', 'General entry', ondelete='cascade', select=True),