Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
AungKoKoLin1997 committed Jul 9, 2024
1 parent e09e09f commit d3b8e80
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -22,8 +22,8 @@ repos:
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://www.quartile.co"]
# - id: oca-fix-manifest-website
# args: ["https://www.quartile.co"]
- repo: https://github.com/acsone/setuptools-odoo
rev: 3.1.8
hooks:
2 changes: 1 addition & 1 deletion product_configurator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
'summary': 'Base for product configuration interface modules',
'author': 'Pledra, Quartile Limited',
'license': 'AGPL-3',
'website': 'https://www.quartile.co',
'website': 'http://www.pledra.com/',
'depends': ['sale_stock'],
"data": [
'data/menu_configurable_product.xml',
2 changes: 1 addition & 1 deletion product_configurator_mrp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
'summary': 'BOM Support for configurable products',
'author': 'Pledra, Quartile Limited',
'license': 'AGPL-3',
'website': 'https://www.quartile.co',
'website': 'http://www.pledra.com/',
'depends': [
'mrp',
'product_configurator'
2 changes: 1 addition & 1 deletion product_configurator_wizard/__manifest__.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
'summary': 'Back-end Product Configurator',
'author': 'Pledra, Quartile Limited',
'license': 'AGPL-3',
'website': 'https://www.quartile.co',
'website': 'http://www.pledra.com/',
'depends': ['sale', 'product_configurator'],
"data": [
'wizard/product_configurator_view.xml',
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ def setUpClass(cls):
{
"name": "FY2022",
"date_start": "2022-01-01",
"date_end": fields.date.today(),
"date_end": "2022-12-31",
"type_id": range_type.id,
}
)
@@ -54,14 +54,14 @@ def test_confirm_and_cancel_sales_order(self):
yearly_sales_dom = [
("partner_id", "=", self.partner.id),
("start_date", "=", "2022-01-01"),
("end_date", "=", fields.date.today()),
("end_date", "=", "2022-12-31"),
]
yearly_sales = self.yearly_sales.search(yearly_sales_dom)
# No corresponding yearly sales record before sales order confirmation.
self.assertEqual(yearly_sales.id, False)

self.order.action_confirm()
self.order.write({"date_order_ctx": "2022-01-20"})
self.order.action_confirm()
yearly_sales = self.yearly_sales.search(yearly_sales_dom)
self.assertEqual(yearly_sales.amt_computed, 10.0)

2 changes: 1 addition & 1 deletion website_product_configurator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
'summary': """Configure products in e-shop""",
'author': "Pledra, Quartile Limited",
'license': 'AGPL-3',
'website': 'https://www.quartile.co',
'website': 'http://www.pledra.com/',
'category': 'website',

'depends': ['website_sale', 'product_configurator'],
2 changes: 1 addition & 1 deletion website_product_configurator_mrp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
'summary': 'Website integration of MRP',
'author': 'Pledra, Quartile Limited',
'license': 'AGPL-3',
'website': 'https://www.quartile.co',
'website': 'http://www.pledra.com/',
'depends': [
'product_configurator_mrp',
'website_product_configurator',

0 comments on commit d3b8e80

Please sign in to comment.