mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[14.0][MIG] account_move_line_by_sale_line
[IMP] add security
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
{
|
||||
"name": "Account Mass Reconcile by Sale Line",
|
||||
"summary": "Allows to reconcile based on the SO line",
|
||||
"version": "11.0.1.0.0",
|
||||
"version": "14.0.1.0.0",
|
||||
"author": "ForgeFlow S.L., " "Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/bank-statement-reconcile",
|
||||
"website": "https://github.com/OCA/account-reconcile",
|
||||
"category": "Finance",
|
||||
"depends": ["account_mass_reconcile", "account_move_line_sale_info"],
|
||||
"license": "AGPL-3",
|
||||
"data": ["views/mass_reconcile.xml",],
|
||||
"data": ["security/ir.model.access.csv", "views/mass_reconcile.xml"],
|
||||
"installable": True,
|
||||
"auto_install": False,
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
# © 2015-18 Eficent Business and IT Consulting Services S.L. (www.eficent.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
# Copyright 2020 ForgeFlow S.L.
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class MassReconcileAdvancedByPurchaseLine(models.TransientModel):
|
||||
class MassReconcileAdvancedBySaleLine(models.TransientModel):
|
||||
_name = "mass.reconcile.advanced.by.sale.line"
|
||||
_inherit = "mass.reconcile.advanced"
|
||||
_description = "Mass Reconcile By Sale Line"
|
||||
|
||||
@staticmethod
|
||||
def _skip_line(move_line):
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# © 2015-18 Eficent Business and IT Consulting Services S.L. (www.eficent.com)
|
||||
# Copyright 2020 ForgeFlow S.L.
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# © 2015-18 Eficent Business and IT Consulting Services S.L. (www.eficent.com)
|
||||
# Copyright 2020 ForgeFlow S.L.
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
* Aaron Henriquez Quintana <ahenriquez@forgeflow.com>
|
||||
@@ -0,0 +1,5 @@
|
||||
This module extends the functionality of account_mass_reconcile and
|
||||
allow an user to reconcile debits and credits of an Account
|
||||
using the SO Line and Product as key fields. This type of
|
||||
reconciliation is to be used in the context of the Perpetual Inventory
|
||||
accounting system, with the accrual account '*Goods Delivered Not Invoiced*'.
|
||||
6
account_mass_reconcile_by_sale_line/readme/USAGE.rst
Normal file
6
account_mass_reconcile_by_sale_line/readme/USAGE.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
To use this module, you need to:
|
||||
|
||||
* Go to 'Invoicing / Accounting / Actions / Mass Automatic Reconcile'.
|
||||
|
||||
* Create a new reconciliation profile, and select a new configuration entry
|
||||
with type 'Advanced. Product, sale order line'.
|
||||
@@ -0,0 +1,2 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_mass_reconcile_advanced_by_sale_line,access_mass_reconcile_advanced_by_sale_line,model_mass_reconcile_advanced_by_sale_line,base.group_user,1,1,1,1
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<odoo>
|
||||
<record id="account_mass_reconcile_form" model="ir.ui.view">
|
||||
<field name="name">account.mass.reconcile.form</field>
|
||||
<field name="priority">20</field>
|
||||
<field name="priority">30</field>
|
||||
<field name="model">account.mass.reconcile</field>
|
||||
<field
|
||||
name="inherit_id"
|
||||
@@ -13,6 +13,7 @@
|
||||
<group colspan="2" col="2">
|
||||
<separator colspan="4" string="Advanced. Sale Order Line" />
|
||||
<label
|
||||
for="reconcile_method"
|
||||
string="Match multiple debit vs multiple credit entries. Allow partial reconciliation.
|
||||
The lines should have the same partner, product and SO lines to be reconciled."
|
||||
colspan="4"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../../../../account_mass_reconcile_by_sale_line
|
||||
6
setup/account_mass_reconcile_by_sale_line/setup.py
Normal file
6
setup/account_mass_reconcile_by_sale_line/setup.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
||||
Reference in New Issue
Block a user