Skip to content

Commit

Permalink
Merge PR #12 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 Jan 9, 2024
2 parents 7e55fb8 + 7c1f6e7 commit 57372fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ssi_rma/models/rma_customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ class RMACustomer(models.Model):
string="Type",
default="customer",
)
operation_id = fields.Many2one(
domain=[
("direction", "=", "customer"),
],
)
line_ids = fields.One2many(
comodel_name="rma_customer_line",
inverse_name="order_id",
Expand Down
5 changes: 5 additions & 0 deletions ssi_rma/models/rma_supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ class RMASupplier(models.Model):
string="Type",
default="supplier",
)
operation_id = fields.Many2one(
domain=[
("direction", "=", "supplier"),
],
)
line_ids = fields.One2many(
comodel_name="rma_supplier_line",
inverse_name="order_id",
Expand Down

0 comments on commit 57372fa

Please sign in to comment.