replacing
{'company_id': parent.company_id}
by
parent.company_id
nevertheless
parent.company_id is a non existing field
- hence the the coding (1) returned an error - which is correct behaviour
- while coding(2) just ignores a reference to a not existing field - which IMHO should not be allowed.
Sorry once more
I changed (error) (1) "product_ id_change_ c2c_pu( product_ id, uos_id, quantity, name, parent.type, parent.partner_id, parent. fiscal_ position, price_unit_pu, parent. address_ invoice_ id, parent.currency_id, {'company_id': parent. company_ id},price_ unit_id) "
on_change=
to (working) (2) "product_ id_change_ c2c_pu( product_ id, uos_id, quantity, name, parent.type, parent.partner_id, parent. fiscal_ position, price_unit_pu, parent. address_ invoice_ id, parent.currency_id, parent. company_ id,price_ unit_id) "/>
on_change=
replacing
{'company_id': parent.company_id}
by
parent.company_id
nevertheless
parent.company_id is a non existing field
- hence the the coding (1) returned an error - which is correct behaviour
- while coding(2) just ignores a reference to a not existing field - which IMHO should not be allowed.