-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
into: - product_main_supplier - sale_suggested_price - sale_adapt_price_wizard [REF] split beesdoo_product -> product_main_supplier [FIX] sale_suggested_price dep on product_main_supplier [ADD] module sale_edit_price_wizard [REF] rename sale_edit_price_wizard -> sale_adapt_price_wizard [REF] move rounding_method to sale_suggested_price [REF] refactor following PR 320 [REF] search product_code -> product_main_seller [FIX] bug adapt_sales_price [IMP] use float_compare to compare prices [REF] move list_price_write_date to sale_adapt_price_wizard [FIX] beesdoo_product: main_seller_id search [FIX] run precommit fix
- Loading branch information
1 parent
af7938c
commit fa8695a
Showing
114 changed files
with
2,403 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* Beescoop - Cellule IT | ||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* Beescoop - Cellule IT | ||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* Beescoop - Cellule IT | ||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ | |
# - Houssine Bakkali <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Beescoop Point of sale", | ||
"name": "BEES coop Point of sale", | ||
"summary": """This module adds the eaters of the customer to the POS | ||
ActionpadWidget and PaymentScreenWidget.""", | ||
"author": "Beescoop - Cellule IT, Coop IT Easy SC", | ||
"author": "BEES coop - Cellule IT, Coop IT Easy SC", | ||
"website": "https://github.com/beescoop/Obeesdoo", | ||
"category": "Point Of Sale", | ||
"version": "12.0.2.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* Beescoop - Cellule IT | ||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
* Beescoop - Cellule IT | ||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC | ||
* Thibault Francois |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* Beescoop - Cellule IT | ||
* BEES coop - Cellule IT | ||
* Coop IT Easy SC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import logging | ||
|
||
from openupgradelib import openupgrade | ||
|
||
_logger = logging.getLogger(__name__ + " 12.0.2.0.0") | ||
|
||
|
||
renamed_view_xml_ids = ( | ||
( | ||
"beesdoo_product.beesdoo_product_category_form", | ||
"sale_suggested_price.product_category_form_view", | ||
), | ||
( | ||
"beesdoo_product.product_template_edit_price_tree_view", | ||
"sale_suggested_price.product_template_edit_price_tree_view", | ||
), | ||
( | ||
"beesdoo_product.beesdoo_product_category_list", | ||
"sale_suggested_price.product_category_list_view", | ||
), | ||
( | ||
"beesdoo_product.beesdoo_product_supplierinfo_tree_view", | ||
"sale_suggested_price.product_supplierinfo_tree_view", | ||
), | ||
( | ||
"beesdoo_product.product_template_edit_price_tree_view", | ||
"sale_suggested_price.product_template_edit_price_tree_view", | ||
), | ||
( | ||
"beesdoo_product.beesdoo_product_res_parter_form", | ||
"sale_suggested_price.view_partner_form", | ||
), | ||
( | ||
"beesdoo_product.res_config_settings_view_form", | ||
"sale_suggested_price.res_config_settings_view_form", | ||
), | ||
) | ||
|
||
modules_to_install = [ | ||
"sale_suggested_price", | ||
"product_main_suplier", | ||
] | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
_logger.info("renaming view xml ids") | ||
openupgrade.rename_xmlids(env.cr, renamed_view_xml_ids) | ||
|
||
for module in modules_to_install: | ||
module_ids = env["ir.module.module"].search( | ||
[("name", "=", module), ("state", "=", "uninstalled")] | ||
) | ||
if module_ids: | ||
module_ids.button_install() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
from . import beesdoo_product | ||
from . import res_config_settings |
Oops, something went wrong.