Skip to content

Commit

Permalink
Merge PR #15 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by andhit-r
  • Loading branch information
ssi-bot committed Feb 3, 2024
2 parents 7137822 + 05f6caa commit dfd9a5f
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 3 deletions.
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>

0 comments on commit dfd9a5f

Please sign in to comment.