Browse Source

[CHG] beesdoo_pos_reporting : store pos_order_count field in res_partner

pull/118/head
Elouan Le Bars 5 years ago
parent
commit
118e6ca82d
  1. 1
      beesdoo_pos_reporting/__init__.py
  2. 1
      beesdoo_pos_reporting/models/__init__.py
  3. 7
      beesdoo_pos_reporting/models/res_partner.py

1
beesdoo_pos_reporting/__init__.py

@ -0,0 +1 @@
from . import models

1
beesdoo_pos_reporting/models/__init__.py

@ -0,0 +1 @@
from . import res_partner

7
beesdoo_pos_reporting/models/res_partner.py

@ -0,0 +1,7 @@
from odoo import fields, models
class ResPartner(models.Model):
_inherit = "res.partner"
pos_order_count = fields.Integer(store=True,)
Loading…
Cancel
Save