this feature is long awaited and Renato and me confirm such a merge would save us from always doing this customization.
Now, I think you did little mistakes in manipulating Python boolean expressions, look lines 30 and 31 of the diff, you have code like:
'fiscal_position': supplier.property_account_position.id or False
it should instead be supplier.property_account_position and supplier.property_account_position.id or False.id or False
I believe there is the same error line 51 also.
Please fix that then it would be OK for me. Thanks for all that work, this is very good for the OpenERP product.
Hello Alexis,
this feature is long awaited and Renato and me confirm such a merge would save us from always doing this customization.
Now, I think you did little mistakes in manipulating Python boolean expressions, look lines 30 and 31 of the diff, you have code like: property_ account_ position. id or False property_ account_ position and supplier. property_ account_ position. id or False.id or False
'fiscal_position': supplier.
it should instead be supplier.
I believe there is the same error line 51 also.
Please fix that then it would be OK for me. Thanks for all that work, this is very good for the OpenERP product.