Skip to content

Commit

Permalink
[MIG] recurring_consignment_pos: Migration to 16.0 (from 12.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain authored and github-grap-bot committed Jul 25, 2024
1 parent 2e9fd37 commit 32c93fc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion recurring_consignment_pos/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Recurring Consignment - Point of Sale",
"version": "12.0.1.1.2",
"version": "16.0.1.0.0",
"summary": "Glue module for Recurring Consignment and PoS modules",
"category": "Sale",
"author": "GRAP",
Expand Down
3 changes: 0 additions & 3 deletions recurring_consignment_pos/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class AccountInvoice(models.Model):
_inherit = "account.invoice"

# View Section
@api.multi
def button_commission_view_pos_order_lines(self):
pos_order_lines = self._get_commission_related_pos_order_lines()
action = self.env.ref("point_of_sale.action_pos_all_sales_lines")
Expand All @@ -18,7 +17,6 @@ def button_commission_view_pos_order_lines(self):
return action_data

# Private Section
@api.multi
def _get_commission_related_pos_order_lines(self):
PosOrder = self.env["pos.order"]
PosOrderLine = self.env["pos.order.line"]
Expand Down Expand Up @@ -47,7 +45,6 @@ def _get_commission_related_pos_order_lines(self):
]
)

@api.multi
def _get_commission_information_product_detail_grouped(self):
groups = super().get_commission_information_product_detail_grouped()

Expand Down
1 change: 0 additions & 1 deletion recurring_consignment_pos/models/product_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class ProductTemplate(models.Model):
_inherit = "product.template"

# Constrains Section
@api.multi
def _check_consignor_changes(self, vals):
super()._check_consignor_changes(vals)
PosOrderLine = self.env["pos.order.line"]
Expand Down

0 comments on commit 32c93fc

Please sign in to comment.