Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3860][UPD] dotfiles #218

Open
wants to merge 2 commits into
base: 10.0
Choose a base branch
from
Open

[3860][UPD] dotfiles #218

wants to merge 2 commits into from

Conversation

AungKoKoLin1997
Copy link
Contributor

@AungKoKoLin1997 AungKoKoLin1997 commented Mar 23, 2023

Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @AungKoKoLin1997 ! Can you please take this chance to fix tests as well?

* Do not propose it on Purchase Order lines
""",
'author': 'Rooms For (Hong Kong) Limited T/A OSCG',
'website': 'https://www.odoo-asia.com',
'author': 'Rooms For (Hong Kong) Limited T/A OSCG, Quartile Limited',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'author': 'Rooms For (Hong Kong) Limited T/A OSCG, Quartile Limited',
'author': 'Quartile Limited',

Rooms For (Hong Kong) Limited is our old company name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I thought that is our parent company and I was not sure removing our parent company from author list. I will remove it now.

'version': '10.0.1.0.0',
'category': 'Sales',
'description': """
* Propose product type from product category
""",
'author': 'Rooms For (Hong Kong) Limited T/A OSCG',
'website': 'https://www.odoo-asia.com',
'author': 'Rooms For (Hong Kong) Limited T/A OSCG, Quartile Limited',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'author': 'Rooms For (Hong Kong) Limited T/A OSCG, Quartile Limited',
'author': 'Quartile Limited',

@@ -46,10 +46,18 @@ jobs:
POSTGRES_DB: odoo
ports:
- 5432:5432
env:
ADDONS_PATH: "/opt/odoo/addons,pci-private"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it is wrong to have a dependency on a private module. We should move such modules to pci-private, instead of making changes here.

@AungKoKoLin1997
Copy link
Contributor Author

I have no idea why purchase_received_qty_adj is failed in run tests stage, not in db initialize. I tried to install this module in dev environment and can install. There is no xml error.

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (10.0@7305226). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 4363ae6 differs from pull request most recent head 86394a8. Consider uploading reports for the commit 86394a8 to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             10.0     #218   +/-   ##
=======================================
  Coverage        ?   53.10%           
=======================================
  Files           ?      230           
  Lines           ?     3188           
  Branches        ?      567           
=======================================
  Hits            ?     1693           
  Misses          ?     1408           
  Partials        ?       87           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@AungKoKoLin1997
Copy link
Contributor Author

There is only one issue to fix the tests and it's tricky to fix it. So, I think I spend time on this task is enough and will follow up with another task later.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 10.0-fix-pre-commit branch 4 times, most recently from 1b1e866 to 001b914 Compare July 8, 2024 03:29
@AungKoKoLin1997 AungKoKoLin1997 changed the title [FIX] pre-commit [UPD] dotfiles Jul 8, 2024
@AungKoKoLin1997
Copy link
Contributor Author

Tests CI is failed because of stock_shipment_schedule_report depends on website_product_stock that is hosted in pci-private. So, I will follow up for this case because this is not within the scope of this PR.

'license': 'AGPL-3',
'website': 'http://www.pledra.com/',
'website': 'https://www.quartile.co',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not force this change.

'license': 'AGPL-3',
'website': 'http://www.pledra.com/',
'website': 'https://www.quartile.co',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not force this change.

'license': 'AGPL-3',
'website': 'http://www.pledra.com/',
'website': 'https://www.quartile.co',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not force this change.

)
cls.date_range = cls.env["date.range"].create(
{
"name": "FY2022",
"date_start": "2022-01-01",
"date_end": "2022-12-31",
"date_end": fields.date.today(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the wrong approach for fixing tests case. I updated in my latest commit.

@@ -53,7 +54,7 @@ def test_confirm_and_cancel_sales_order(self):
yearly_sales_dom = [
("partner_id", "=", self.partner.id),
("start_date", "=", "2022-01-01"),
("end_date", "=", "2022-12-31"),
("end_date", "=", fields.date.today()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

'license': 'AGPL-3',
'website': 'http://www.pledra.com/',
'website': 'https://www.quartile.co',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not force this change.

'license': 'AGPL-3',
'website': 'http://www.pledra.com/',
'website': 'https://www.quartile.co',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not force this change.

@yostashiro yostashiro changed the title [UPD] dotfiles [3860][UPD] dotfiles Jul 9, 2024
@yostashiro
Copy link
Member

Tests CI is failed because of stock_shipment_schedule_report depends on website_product_stock that is hosted in pci-private. So, I will follow up for this case because this is not within the scope of this PR.

I'm checking with the client whether stock_shipment_schedule_report is still in use. If it is not, then we can simply put it in the deprecated folder. Otherwise, we want to remove the dependency on website_product_stock from stock_shipment_schedule_report first by creating a bridge module in the pci-private repo. I think it should be relatively simple (I believe the only part that depends on website_product_stock is where consider_qty field appears, if I'm not mistaken).

https://github.com/qrtl/pci-custom/blob/1f17fda/stock_shipment_schedule_report/reports/shipment_schedule_report_compute.py#L181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants