Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
bealdav committed Oct 16, 2024
1 parent 527a477 commit 2c52688
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sheet_dataframe_process/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"category": "Reporting",
"license": "AGPL-3",
"summary": "Allow to create a Polars dataframe from a sheet file and "
"process it according rules",
"process it according to rules",
"website": "https://github.com/OCA/reporting-engine",
"maintainers": ["bealdav"],
"depends": [
Expand All @@ -20,7 +20,7 @@
},
"data": [
"security/ir.model.access.xml",
# "wizards/sheet_dataframe.xml",
"wizards/sheet_dataframe.xml",
"views/file_config.xml",
"views/file_field.xml",
"views/file_partner_field.xml",
Expand Down
4 changes: 2 additions & 2 deletions sheet_dataframe_process/security/ir.model.access.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<field name="perm_unlink" eval="1" />
</record>

<!-- <record id="sheet_dataframe_transient_all" model="ir.model.access">
<record id="sheet_dataframe_transient_all" model="ir.model.access">
<field name="name">sheet.dataframe.transient</field>
<field name="model_id" ref="model_sheet_dataframe_transient" />
<field name="group_id" ref="base.group_user" />
Expand All @@ -39,5 +39,5 @@
<field name="perm_write" eval="1" />
<field name="perm_unlink" eval="1" />
</record>
-->

</odoo>
19 changes: 19 additions & 0 deletions sheet_dataframe_process/views/file_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
<field name="arch" type="xml">
<list>
<field name="model_id" />
<field name="code" />
<field name="action" />
<field name="partner_ids" />
</list>
</field>
</record>
Expand All @@ -55,6 +58,22 @@
<field name="arch" type="xml">
<search>
<field name="model_id" />
<field name="action" />
<field name="code" />
<group expand="0" string="Group By">
<filter
string="Model"
name="model_id"
domain="[]"
context="{'group_by': 'model_id'}"
/>
<filter
string="Action"
name="action"
domain="[]"
context="{'group_by': 'action'}"
/>
</group>
</search>
</field>
</record>
Expand Down
2 changes: 1 addition & 1 deletion sheet_dataframe_process/wizards/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# from . import sheet_dataframe
from . import sheet_dataframe

0 comments on commit 2c52688

Please sign in to comment.