Skip to content

Commit

Permalink
[8.0.1.1.0] hr_timesheet_sheet_product_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
andhit-r committed Apr 11, 2020
1 parent b7e1a73 commit 832fbd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hr_timesheet_sheet_product_policy/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Timesheet Tracking Product Policy",
"version": "8.0.1.0.0",
"version": "8.0.1.1.0",
"website": "https://simetri-sinergi.id",
"author": "PT. Simetri Sinergi Indonesia, OpenSynergy Indonesia",
"license": "AGPL-3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='timesheet_ids']/tree/field[@name='product_id']" position="before">
<field name="timesheet_account_allowed_product_categ_ids" widget="many2many_tags" invisible="0"/>
<field name="timesheet_account_allowed_product_categ_ids" widget="many2many_tags" invisible="1"/>
<field name="timesheet_account_allowed_product_ids" widget="many2many_tags" invisible="1"/>
</xpath>
<xpath expr="//field[@name='timesheet_ids']/tree/field[@name='product_id']" position="attributes">
<attribute name="invisible">1</attribute>
<attribute name="invisible">0</attribute>
<attribute name="domain">['|',('categ_id','in',timesheet_account_allowed_product_categ_ids[0][2]),('id','in',timesheet_account_allowed_product_ids[0][2])]</attribute>
</xpath>
</data>
Expand Down

0 comments on commit 832fbd2

Please sign in to comment.