Browse Source

[FIX] undeclared function

pull/1/head
houssine 6 years ago
parent
commit
f2ad689d22
  1. 4
      easy_my_coop/models/coop.py

4
easy_my_coop/models/coop.py

@ -178,6 +178,10 @@ class subscription_request(models.Model):
('manual','Manual')], string="Source", default="website")
_order = "id desc"
# declare this function in order to be overriden
def get_eater_vals(self, partner, share_product_id):
return {}
def _prepare_invoice_line(self, product, partner, qty):
self.ensure_one()
res = {}

Loading…
Cancel
Save