mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
fixup!
This commit is contained in:
@@ -7,16 +7,6 @@ from odoo import fields, models
|
||||
class RmaOperation(models.Model):
|
||||
_inherit = "rma.operation"
|
||||
|
||||
put_away_policy = fields.Selection(
|
||||
selection=[
|
||||
("no", "Not required"),
|
||||
("ordered", "Based on Ordered Quantities"),
|
||||
("received", "Based on Received Quantities"),
|
||||
],
|
||||
string="Put Away Policy",
|
||||
default="no",
|
||||
)
|
||||
|
||||
put_away_route_id = fields.Many2one(
|
||||
comodel_name="stock.location.route",
|
||||
string="Put Away Route",
|
||||
|
||||
@@ -1,17 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="rma_operation_tree" model="ir.ui.view">
|
||||
<field name="name">rma.operation.tree - rma_put_away</field>
|
||||
<field name="model">rma.operation</field>
|
||||
<field name="inherit_id" ref="rma.rma_operation_tree" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="delivery_policy" position="after">
|
||||
<field name="put_away_policy" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="rma_operation_form" model="ir.ui.view">
|
||||
<field name="name">rma.operation.form - rma_put_away</field>
|
||||
<field name="model">rma.operation</field>
|
||||
|
||||
Reference in New Issue
Block a user