This question has been flagged
1 Reply
769 Views
I put a new field in the res.partner model but I want to show it at the point of sale and it doesn't appear between the res.partner fields
class QappsResPartner(models.Model):
_inherit = 'res.partner'

tipo_doc = fields.Selection(TIPO_DOC_CLIENTE, string='Tipo Doc.', required=False)



res.partner object at the point of sale
Object
    1. partner: Proxy(Object)
      1. [[Handler]]: Object
      2. [[Target]]: Object
        1. address: "4557 De Silva St, 94538, Fremont, Montevideo (UY), Uruguay"
        2. barcode: false
        3. city: "Fremont"
        4. country_id: (2) [234'Uruguay']
        5. email: "bohemio8407@gmail.com"
        6. id: 14
        7. lang: "es_ES"
        8. mobile: "+5358572287"
        9. name: "Pavel Daniel"
        10. parent_name: false
        11. phone: "(870)-931-0505"
        12. property_account_position_id: false
        13. property_product_pricelist: (2) [1'Tarifa pública (UYU)']
        14. state_id: (2) [1412'Montevideo (UY)']
        15. street: "4557 De Silva St"
        16. vat: false
        17. write_date: "2023-03-17 22:08:12"
        18. zip: "9453
the type_doc field does not appear

Avatar
Discard
Best Answer

Hi,

To display a custom field in the Point of Sale (POS) module in Odoo 16, you can refer to the following link: 
How to Load Models and Fields in Odoo 16 POS.

https://www.cybrosys.com/blog/how-to-load-models-fields-in-the-odoo-16-pos

This resource provides a detailed guide on how to load models and fields in the POS module

Regards

Avatar
Discard