mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX]views rma
This commit is contained in:
committed by
Florian da Costa
parent
5606be6d2d
commit
2fd985f591
@@ -163,9 +163,6 @@ class TestRma(common.SavepointCase):
|
|||||||
|
|
||||||
rma_id.partner_id.action_open_partner_rma()
|
rma_id.partner_id.action_open_partner_rma()
|
||||||
rma_id.partner_id._compute_rma_line_count()
|
rma_id.partner_id._compute_rma_line_count()
|
||||||
# approve the RMA
|
|
||||||
# rma_id.action_rma_to_approve()
|
|
||||||
# rma_id.action_rma_approve()
|
|
||||||
return rma_id
|
return rma_id
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
|
||||||
<record id="rma_operation_tree" model="ir.ui.view">
|
<record id="rma_operation_tree" model="ir.ui.view">
|
||||||
<field name="name">rma.operation.tree</field>
|
<field name="name">rma.operation.tree</field>
|
||||||
<field name="model">rma.operation</field>
|
<field name="model">rma.operation</field>
|
||||||
@@ -86,5 +85,4 @@
|
|||||||
parent="rma.menu_rma_config"
|
parent="rma.menu_rma_config"
|
||||||
action="action_rma_operation_supplier"/>
|
action="action_rma_operation_supplier"/>
|
||||||
|
|
||||||
</data>
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -37,13 +37,13 @@
|
|||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
<newline/>
|
<newline/>
|
||||||
<group colspan="2">
|
<footer colspan="2">
|
||||||
<button name="make_supplier_rma"
|
<button name="make_supplier_rma"
|
||||||
string="Create/Update Supplier RMA"
|
string="Create/Update Supplier RMA"
|
||||||
type="object"
|
type="object"
|
||||||
class="oe_highlight"/>
|
class="oe_highlight"/>
|
||||||
<button special="cancel" string="Cancel" class="oe_link"/>
|
<button special="cancel" string="Cancel" class="oe_link"/>
|
||||||
</group>
|
</footer>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
Reference in New Issue
Block a user