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

[17.0][FW] account_financial_report: multiple ports from 14.0 #1233

Open
wants to merge 5 commits into
base: 17.0
Choose a base branch
from

Conversation

@henrybackman henrybackman force-pushed the 17-port-from-14-account_financial_report branch from 5adefb5 to 032fee9 Compare October 15, 2024 11:27
Copy link
Member

@mmequignon mmequignon left a comment

Choose a reason for hiding this comment

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

Not much context, but code looks good

@pedrobaeza
Copy link
Member

Well, the CI is red, so first, that should be fixed.

@mmequignon
Copy link
Member

Well, the CI is red, so first, that should be fixed.

You're right, I missed this, user_type_id has been replaced by account_type (Many2one to Selection)

@henrybackman
Copy link
Author

Well, the CI is red, so first, that should be fixed.

You're right, I missed this, user_type_id has been replaced by account_type (Many2one to Selection)

Yes, this was the existing issue and it has now been resolved by changing the field in General Ledger Wizard to account_type as well. This however means that the wizard supports only one account type instead of many, but it was considered that expanding to multiple was beyond the scope of the forward porting.

jdidderen-be and others added 4 commits October 22, 2024 13:24
Before this change, the date format in the VAT report print was not sensible to the company's localization.
The date string has been converted to a Date field to ensure the correct format aligns with the company's localization.
@henrybackman henrybackman force-pushed the 17-port-from-14-account_financial_report branch from 93daacf to 520d07a Compare October 22, 2024 11:27
When porting from v14 to v17, the `account_account.user_type_id`
has been changed to `account_type`. Previously `general_ledger_wizard`
was able to store multiple account types through the `account_type_ids`
field. To simplify the forward porting, for now only one `account_type`
can be selected in the wizard.
@henrybackman henrybackman force-pushed the 17-port-from-14-account_financial_report branch from 520d07a to f980e17 Compare October 22, 2024 11:31
@henrybackman
Copy link
Author

@WesleyOliveira98 While forward porting your changes, I made a change to the General Ledge Wizard to accommodate changes in 17.0. This has a functional impact:

  • Before it was possible to select multiple account types but I implemented a simplified fix which allows selecting only a single account type

Could I ask you to review the port and my changes?
Fix commit:

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.

6 participants