Skip to content

Commit

Permalink
[OU-ADD] pos_sale module
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Dec 19, 2023
1 parent ece8807 commit a7b5492
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules140-150.rst
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ Module coverage 14.0 -> 15.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| pos_restaurant_adyen | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| pos_sale | | |
| pos_sale | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| |new| pos_sale_margin | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright 2023-Today: GRAP - Sylvain LE GAL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "pos_sale", "15.0.1.1/noupdate_changes.xml")
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---Models in module 'pos_sale'---
---Fields in module 'pos_sale'---
pos_sale / pos.config / down_payment_product_id (many2one): NEW relation: product.product
pos_sale / pos.order.line / down_payment_details (text) : NEW
# Nothing to do: New fields related to the new down payment features

pos_sale / pos.order.line / sale_order_line_id (many2one) : NEW relation: sale.order.line
pos_sale / pos.order.line / sale_order_origin_id (many2one): NEW relation: sale.order
pos_sale / sale.order / pos_order_line_ids (one2many) : NEW relation: pos.order.line
pos_sale / sale.order.line / pos_order_line_ids (one2many) : NEW relation: pos.order.line
# Nothing to do: New fields related to new feature that allows to load sale.order in the Point of Sale

---XML records in module 'pos_sale'---
NEW ir.ui.view: pos_sale.crm_team_view_kanban_dashboard
NEW ir.ui.view: pos_sale.message_body
NEW ir.ui.view: pos_sale.report_invoice_document
NEW ir.ui.view: pos_sale.view_order_form_inherit_pos_sale
NEW ir.ui.view: pos_sale.view_pos_order_form_inherit_pos_sale
DEL ir.ui.view: pos_sale.crm_team_salesteams_view_kanban_inherit_pos_sale
# Nothing to do: New views.

NEW product.product: pos_sale.default_downpayment_product (noupdate)
# Load new data in post-migration.py

0 comments on commit a7b5492

Please sign in to comment.