Skip to content

Commit

Permalink
[MIG] rma_purchase_analytic: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JasminSForgeFlow committed Sep 26, 2023
1 parent 0ea0a79 commit 2fd243e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 15 deletions.
4 changes: 2 additions & 2 deletions rma_purchase_analytic/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ Usage
Contributors
------------

* Aaron Henriquez <ahenriquez@eficent.com>
* Aaron Henriquez <aaron.henriquez@forgeflow.com>


Maintainer
----------

This module is maintained by Eficent.
This module is maintained by ForgeFlow.
9 changes: 4 additions & 5 deletions rma_purchase_analytic/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# © 2017 Eficent Business and IT Consulting Services S.L.
# Copyright 2023 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

{
"name": "Analytic Account in RMA purchase",
"version": "10.0.1.0.0",
"author": "Eficent," "Odoo Community Association (OCA)",
"license": "LGPL-3",
"version": "15.0.1.0.0",
"author": "ForgeFlow," "Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/ForgeFlow/stock-rma",
"category": "Analytic",
"depends": ["rma_account", "rma_analytic", "purchase_analytic"],
"data": [],
"installable": True,
}
2 changes: 1 addition & 1 deletion rma_purchase_analytic/models/purchase_order_line.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2018 Eficent Business and IT Consulting Services S.L.
# Copyright 2023 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

from odoo import _, api, exceptions, models
Expand Down
1 change: 0 additions & 1 deletion rma_purchase_analytic/wizards/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# © 2018 Eficent Business and IT Consulting Services S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

from . import rma_add_purchase
4 changes: 2 additions & 2 deletions rma_purchase_analytic/wizards/rma_add_purchase.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2018 Eficent Business and IT Consulting Services S.L.
# Copyright 2023 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

from odoo import api, models
Expand All @@ -10,7 +10,7 @@ class RmaAddPurchase(models.TransientModel):
@api.model
def _prepare_rma_line_from_po_line(self, line):
data = super(RmaAddPurchase, self)._prepare_rma_line_from_po_line(line)
data.update(analytic_account_id=line.analytic_account_id.id)
data.update(analytic_account_id=line.account_analytic_id.id)
return data


Expand Down
1 change: 0 additions & 1 deletion setup/rma_purchase_analytic/odoo/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion setup/rma_purchase_analytic/odoo/addons/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion setup/rma_sale_operating_unit/odoo/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion setup/rma_sale_operating_unit/odoo/addons/__init__.py

This file was deleted.

0 comments on commit 2fd243e

Please sign in to comment.