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

Master account tax type in fiscal position smo #32241

Conversation

smo-odoo
Copy link
Contributor

@robodoo robodoo added seen 🙂 CI 🤖 Robodoo has seen passing statuses labels Mar 29, 2019
@C3POdoo C3POdoo added the RD research & development, internal work label Mar 29, 2019
@mba-odoo mba-odoo force-pushed the master-account-tax-type-in-fiscal-position-smo branch from 36c940a to 5fb3c85 Compare March 29, 2019 12:45
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Mar 29, 2019
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Apr 12, 2019
@mba-odoo mba-odoo force-pushed the master-account-tax-type-in-fiscal-position-smo branch from 01946e8 to e60c544 Compare April 12, 2019 11:42
mba-odoo pushed a commit to odoo-dev/odoo that referenced this pull request Apr 12, 2019
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
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Apr 12, 2019
Copy link
Contributor

@oco-odoo oco-odoo left a 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"/>
Copy link
Contributor

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?

Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Alright, seems legit.

@oco-odoo
Copy link
Contributor

@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
@mba-odoo mba-odoo force-pushed the master-account-tax-type-in-fiscal-position-smo branch from e60c544 to 630b8e3 Compare May 10, 2019 09:40
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label May 10, 2019
@mba-odoo
Copy link
Contributor

@oco-odoo , Done.

@oco-odoo
Copy link
Contributor

@robodoo r+

@robodoo robodoo added r+ 👌 CI 🤖 Robodoo has seen passing statuses labels May 10, 2019
robodoo pushed a commit that referenced this pull request May 10, 2019
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>
@robodoo
Copy link
Contributor

robodoo commented May 10, 2019

Merged, thanks!

@robodoo robodoo closed this May 10, 2019
@fw-bot fw-bot deleted the master-account-tax-type-in-fiscal-position-smo branch October 19, 2019 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants