-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Master account tax type in fiscal position smo #32241
Master account tax type in fiscal position smo #32241
Conversation
36c940a
to
5fb3c85
Compare
01946e8
to
e60c544
Compare
On fiscal position, there is a mix of sales & purchases invoice which makes it difficult to understand. So display the type of tax on fiscal position and improve the name_get so type must be translated. also improve the default tree view of tax so it will display the same on 'search more' of many2one. Task-ID: 1943502 Closes: odoo#32241
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small question; ortherwise it's good :)
@@ -1077,7 +1077,7 @@ | |||
<field name="model">account.tax</field> | |||
<field name="arch" type="xml"> | |||
<tree string="Account Tax"> | |||
<field name="name"/> | |||
<field name="display_name" string="name"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only in this tree view, and not the other one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oco-odoo ,
when we use the search more
option of many2one field dropdown at that time it will open this tree view and on that tree view we want to display the type of tax(i.e: 5% Tax(sales))
so to display type of tax based on context append_type_to_tax_name
we use the display_name
instead of name
. while on other views we do not want to display it so keep that as it is. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, seems legit.
@smo-odoo Can you rebase ? :) |
On fiscal position, there is a mix of sales & purchases invoice which makes it difficult to understand. So display the type of tax on fiscal position and improve the name_get so type must be translated. also improve the default tree view of tax so it will display the same on 'search more' of many2one. Task-ID: 1943502 Closes: odoo#32241
e60c544
to
630b8e3
Compare
@oco-odoo , Done. |
@robodoo r+ |
On fiscal position, there is a mix of sales & purchases invoice which makes it difficult to understand. So display the type of tax on fiscal position and improve the name_get so type must be translated. also improve the default tree view of tax so it will display the same on 'search more' of many2one. Task-ID: 1943502 Closes: #32241 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Merged, thanks! |
Task : https://www.odoo.com/web?debug=true#id=1943502&action=327&model=project.task&view_type=form&menu_id=4720
Pad : https://pad.odoo.com/p/r.4a2ab8eb6b0043ccd278748e050f733a
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr