I have created a custom module, custom_module, that adds a field to res.partner via model
________
class MyModule(models.Model)
_inherit = 'res_partner'
card_on_file = fields.Boolean(string='Payment on File', store=True)
------
I'd like to have the status of this field update a related field on quotations but am not sure how to add it properly to be available to call it on sale.order.form
Is the below the way to do this?
______
class MyQuoMod(models.Model)
_inherit = 'sale.order'
card_on_file = fields.Boolean(string='Payment on File', related=res.partner.card_on_file')
Thank you for your time.