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][MIG] account_ecotax_sale: Migration to 17.0 #481

Open
wants to merge 13 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account_ecotax_sale/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "sale Ecotax Management",
"summary": "Sale Ecotaxe",
"version": "16.0.2.0.0",
"version": "17.0.2.0.0",
"maintainers": ["mourad-ehm", "florian-dacosta"],
"author": "Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-fiscal-rule",
Expand Down
14 changes: 5 additions & 9 deletions account_ecotax_sale/views/sale_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<field name="sequence" invisible="1" />
<field name="product_uom_category_id" invisible="1" />
<group>
<group attrs="{'invisible': [('display_type', '!=', False)]}">
<group invisible="display_type">
<field
name="product_id"
readonly="1"
Expand Down Expand Up @@ -111,20 +111,16 @@
<field name="sequence" invisible="1" />
</group>
</group>
<label
for="name"
string="Description"
attrs="{'invisible': [('display_type', '!=', False)]}"
/>
<label for="name" string="Description" invisible="display_type" />
<label
for="name"
string="Section Name (eg. Products, Services)"
attrs="{'invisible': [('display_type', '!=', 'line_section')]}"
invisible="display_type != 'line_section'"
/>
<label
for="name"
string="Note"
attrs="{'invisible': [('display_type', '!=', 'line_note')]}"
invisible="display_type != 'line_note'"
/>
<field name="name" />
<div name="invoice_lines" groups="base.group_no_one" invisible="1">
Expand All @@ -138,7 +134,7 @@
<field
name="ecotax_line_ids"
nolabel="1"
attrs="{'readonly': [('state', 'in', ('done', 'cancel'))]}"
readonly="state in ('done', 'cancel')"
>
<tree editable="bottom">
<field name="classification_id" />
Expand Down
Loading