mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] account_move_line_rma_order_line: remove security group group_account_move_rma_order_line + clean up commented code
This commit is contained in:
@@ -10,9 +10,7 @@
|
||||
"category": "Generic",
|
||||
"depends": ["stock_account", "rma_account"],
|
||||
"license": "AGPL-3",
|
||||
"data": [
|
||||
"security/account_security.xml",
|
||||
],
|
||||
"data": [],
|
||||
"installable": True,
|
||||
"maintainers": ["ChisOForgeFlow"],
|
||||
"development_status": "Beta",
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="group_account_move_rma_order_line" model="res.groups">
|
||||
<field name="name">Rma Order Line in Journal Items</field>
|
||||
<field name="category_id" ref="base.module_category_hidden" />
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]" />
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -97,7 +97,6 @@ class TestAccountMoveLineRmaOrderLine(common.TransactionCase):
|
||||
@classmethod
|
||||
def _create_product(cls):
|
||||
"""Create a Product."""
|
||||
# group_ids = [group.id for group in groups]
|
||||
product_ctg = cls.product_ctg_model.create(
|
||||
{
|
||||
"name": "test_product_ctg",
|
||||
@@ -171,16 +170,8 @@ class TestAccountMoveLineRmaOrderLine(common.TransactionCase):
|
||||
"partner_id": move.partner_id.id,
|
||||
}
|
||||
)
|
||||
# data = wizard._prepare_rma_line_from_stock_move(move)
|
||||
wizard.add_lines()
|
||||
|
||||
# CHECK ME: this code duplicate rma lines, what is the porpourse?
|
||||
# if move.product_id.rma_customer_operation_id:
|
||||
# move.product_id.rma_customer_operation_id.in_route_id = False
|
||||
# move.product_id.categ_id.rma_customer_operation_id = False
|
||||
# move.product_id.rma_customer_operation_id = False
|
||||
# wizard._prepare_rma_line_from_stock_move(move)
|
||||
# cls.line = cls.rma_line_model.create(data)
|
||||
return rma_id
|
||||
|
||||
def _get_balance(self, domain):
|
||||
|
||||
Reference in New Issue
Block a user