c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27645
[Bug 803486] Re: option 'parent' can't be recognized when using widget="selection"!
The related question is already attached.
Thanks.
** Changed in: openobject-server
Status: New => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/803486
Title:
option 'parent' can't be recognized when using widget="selection"!
Status in OpenERP Server:
Invalid
Bug description:
Hi,
I think this is a bug.
In view definition of voucher_payment_receipt_form of module account_voucher, I wonder 'parent' in the code below, how openerp server can understand what parent means? I understand the meaning of this definition, but does not know how to implement this in other views. I tried but openerp reports
"NameError: name 'parent' is not defined"
===
domain="[
('account_id.type','in',('receivable','payable')),
('reconcile_id','=', False),
('partner_id','=',parent.partner_id)
]"
===
Thanks,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/803486/+subscriptions
References