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 Jul 19, 2023
1 parent 8ee6b67 commit 0010838
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 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.
6 changes: 3 additions & 3 deletions rma_purchase_analytic/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

{
"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"],
Expand Down
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
2 changes: 1 addition & 1 deletion rma_purchase_analytic/wizards/__init__.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 . 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.

0 comments on commit 0010838

Please sign in to comment.