postgresql - UPDATE table if column exists -
i have 2 similar not same tables. res_partner
odoo. 1 table 10 version , 7. columns differs bit.
i need update fields of first table using second table. problem don't know if column exists in 1 table or not. question how can update fields exists in both tables?
you can create reference
field in odoo. reference fields pointers field on different table when related model field updated field on given table auto update.
bests
Comments
Post a Comment