Goal: Selection field (Business Unit Reference) in Purchase Orders should be displayed/mirrored in the Vendor bill for accounting purposes, once the Bill is created through the corresponding confirmed PO.
How to configure related fields in Odoo 18 Online Enterprise?
Field properties in Purchase app
Field Label: Business Unit Reference
Technical name: x_studio_business_unit_ref_2
Field type: Selection
Model: Purchase Order
Stored: True
Indexed: True
Copied: True
Field Properties in Accounting app
Field Label: Business Unit Reference
Technical name: x_studio_business_unit_reference
Field type: Related field (Selection)
Model: Journal Entry
Stored: True
Indexed: True
Related Field Definition: purchase_id.x_studio_business_unit_ref_2