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

14.0 03022024 #15

Merged
merged 3 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 15 additions & 0 deletions ssi_rma/views/rma_mixin_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,19 @@
</xpath>
</field>
</record>

<record id="rma_mixin_view_form1" model="ir.ui.view">
<field name="name">rma_mixin - Form - Editable Stock Move</field>
<field name="model">rma_order_mixin</field>
<field name="inherit_id" ref="ssi_rma.rma_mixin_view_form" />
<field name="groups_id" eval="[(4, ref('base.group_system'))]" />
<field name="arch" type="xml">
<xpath
expr="//page[@name='move']/field[@name='stock_move_ids']"
position="attributes"
>
<attribute name="readonly">0</attribute>
</xpath>
</field>
</record>
</odoo>
4 changes: 2 additions & 2 deletions ssi_rma/views/supplier_rma_out_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<field name="view_mode">tree,form</field>
<field
name="domain"
eval="[('picking_type_category_id','=',ref('ssi_rma.picking_category_cro'))]"
eval="[('picking_type_category_id','=',ref('ssi_rma.picking_category_sro'))]"
/>
<field
name="context"
eval="{'default_picking_type_category_id':ref('ssi_rma.picking_category_cro')}"
eval="{'default_picking_type_category_id':ref('ssi_rma.picking_category_sro')}"
/>
</record>

Expand Down
17 changes: 16 additions & 1 deletion ssi_rma_account/views/rma_customer_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
position="after"
>
<page name="aml" string="Journal Items">
<field name="account_move_line_ids" />
<field name="account_move_line_ids" readonly="1" />
</page>
</xpath>
<xpath
Expand Down Expand Up @@ -100,4 +100,19 @@
</data>
</field>
</record>

<record id="rma_customer_view_form1" model="ir.ui.view">
<field name="name">RMA Customers - Form - Editable Journal Items</field>
<field name="model">rma_customer</field>
<field name="inherit_id" ref="ssi_rma_account.rma_customer_view_form" />
<field name="groups_id" eval="[(4, ref('base.group_system'))]" />
<field name="arch" type="xml">
<xpath
expr="//page[@name='aml']/field[@name='account_move_line_ids']"
position="attributes"
>
<attribute name="readonly">0</attribute>
</xpath>
</field>
</record>
</odoo>
15 changes: 15 additions & 0 deletions ssi_rma_account/views/rma_supplier_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,19 @@
</data>
</field>
</record>

<record id="rma_supplier_view_form1" model="ir.ui.view">
<field name="name">RMA Supplier - Form - Editable Journal Items</field>
<field name="model">rma_supplier</field>
<field name="inherit_id" ref="ssi_rma_account.rma_supplier_view_form" />
<field name="groups_id" eval="[(4, ref('base.group_system'))]" />
<field name="arch" type="xml">
<xpath
expr="//page[@name='aml']/field[@name='account_move_line_ids']"
position="attributes"
>
<attribute name="readonly">0</attribute>
</xpath>
</field>
</record>
</odoo>
Loading