[10.0][ADD] Module to allow account move line taxes edition
This commit is contained in:
parent
4b88fa5124
commit
f31aed7171
41
account_move_line_tax_editable/README.rst
Normal file
41
account_move_line_tax_editable/README.rst
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||||
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
|
:alt: License: AGPL-3
|
||||||
|
|
||||||
|
==============================
|
||||||
|
Account Move Line Tax Editable
|
||||||
|
==============================
|
||||||
|
|
||||||
|
Allows to edit taxes on account move lines
|
||||||
|
|
||||||
|
Bug Tracker
|
||||||
|
===========
|
||||||
|
|
||||||
|
Bugs are tracked on `GitHub Issues
|
||||||
|
<https://github.com/OCA/{project_repo}/issues>`_. In case of trouble, please
|
||||||
|
check there if your issue has already been reported. If you spotted it first,
|
||||||
|
help us smashing it by providing a detailed and welcomed feedback.
|
||||||
|
|
||||||
|
Credits
|
||||||
|
=======
|
||||||
|
|
||||||
|
Contributors
|
||||||
|
------------
|
||||||
|
|
||||||
|
* Thomas Binsfeld <thomas.binsfeld@acsone.eu>
|
||||||
|
* Benjamin Willig <benjamin.willig@acsone.eu>
|
||||||
|
|
||||||
|
Maintainer
|
||||||
|
----------
|
||||||
|
|
||||||
|
.. image:: https://odoo-community.org/logo.png
|
||||||
|
:alt: Odoo Community Association
|
||||||
|
:target: https://odoo-community.org
|
||||||
|
|
||||||
|
This module is maintained by the OCA.
|
||||||
|
|
||||||
|
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||||
|
mission is to support the collaborative development of Odoo features and
|
||||||
|
promote its widespread use.
|
||||||
|
|
||||||
|
To contribute to this module, please visit https://odoo-community.org.
|
0
account_move_line_tax_editable/__init__.py
Normal file
0
account_move_line_tax_editable/__init__.py
Normal file
22
account_move_line_tax_editable/__manifest__.py
Normal file
22
account_move_line_tax_editable/__manifest__.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Copyright 2017 ACSONE SA/NV
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'Account Move Line Tax Editable',
|
||||||
|
'summary': """
|
||||||
|
Allows to edit taxes on account move lines""",
|
||||||
|
'version': '10.0.1.0.0',
|
||||||
|
'license': 'AGPL-3',
|
||||||
|
'author': 'ACSONE SA/NV,Odoo Community Association (OCA)',
|
||||||
|
'website': 'https://www.acsone.eu',
|
||||||
|
'depends': [
|
||||||
|
'account',
|
||||||
|
],
|
||||||
|
'data': [
|
||||||
|
'views/account_move.xml',
|
||||||
|
'views/account_move_line.xml',
|
||||||
|
],
|
||||||
|
'demo': [
|
||||||
|
],
|
||||||
|
}
|
BIN
account_move_line_tax_editable/static/description/icon.png
Normal file
BIN
account_move_line_tax_editable/static/description/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
21
account_move_line_tax_editable/views/account_move.xml
Normal file
21
account_move_line_tax_editable/views/account_move.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright 2017 ACSONE SA/NV
|
||||||
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||||
|
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<record model="ir.ui.view" id="account_move_form_view">
|
||||||
|
<field name="name">account.move.form (in account_move_line_tax_editable)</field>
|
||||||
|
<field name="model">account.move</field>
|
||||||
|
<field name="inherit_id" ref="account.view_move_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='line_ids']/tree/field[@name='name']" position="after">
|
||||||
|
<field name="tax_line_id"/>
|
||||||
|
<field name="tax_ids" widget="many2many_tags"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</odoo>
|
23
account_move_line_tax_editable/views/account_move_line.xml
Normal file
23
account_move_line_tax_editable/views/account_move_line.xml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright 2017 ACSONE SA/NV
|
||||||
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||||
|
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<record model="ir.ui.view" id="account_move_line_form_view">
|
||||||
|
<field name="name">account.move.line.form (in account_move_line_tax_editable)</field>
|
||||||
|
<field name="model">account.move.line</field>
|
||||||
|
<field name="inherit_id" ref="account.view_move_line_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="tax_line_id" position="attributes">
|
||||||
|
<attribute name="readonly">0</attribute>
|
||||||
|
</field>
|
||||||
|
<field name="tax_ids" position="attributes">
|
||||||
|
<attribute name="readonly">0</attribute>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</odoo>
|
Loading…
Reference in New Issue
Block a user