Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,181 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,104 @@ | ||
.. 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 | ||
|
||
========================================== | ||
Módulo Informações Contabéis para Produtos | ||
========================================== | ||
|
||
This module was written to extend the functionality of ... to support ... | ||
and allow you to ... | ||
=================================== | ||
Brazilian Localization Sale Product | ||
=================================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-brazil/tree/10.0/l10n_br_sale_product | ||
:alt: OCA/l10n-brazil | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-brazil-10-0/l10n-brazil-10-0-l10n_br_sale_product | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/124/10.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module extends the standard Odoo sale module for Brazil, specially when selling products with NFe's. | ||
|
||
It deals with the propagation of the fiscal operation and fiscal comment. I also displays the following sale total details: | ||
|
||
* untaxed amount | ||
* taxes | ||
* gross amount (valor bruto) | ||
* shipping (frete) | ||
* costs (outros custos) | ||
* insurance (seguro) | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
To install this module, you need to: | ||
This module depends on: | ||
|
||
* do this ... | ||
* l10n_br_sale | ||
* l10n_br_account_product | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
* go to ... | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
* go to ... | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} | ||
|
||
|
||
.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt | ||
.. branch is "8.0" for example | ||
Known issues / Roadmap | ||
====================== | ||
|
||
TODO | ||
No configuration required. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-brazil/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 `here <https://github.com/OCA/ | ||
l10n-brazil/issues/new?body=module:%20 | ||
l10n_br_account_product%0Aversion:%20 | ||
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_sale_product%0Aversion:%2010.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Akretion | ||
|
||
Contributors | ||
------------ | ||
~~~~~~~~~~~~ | ||
|
||
* Renato Lima <renato.lima@akretion.com.br> | ||
* Raphaël Valyi <raphael.valyi@akretion.com.br> | ||
* Luis Felipe Miléo <mileo@kmee.com.br> | ||
|
||
Maintainer | ||
---------- | ||
Other credits | ||
~~~~~~~~~~~~~ | ||
|
||
The development of this module has been financially supported by: | ||
|
||
* AKRETION LTDA - www.akretion.com | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. 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 http://odoo-community.org. | ||
This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/10.0/l10n_br_sale_product>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import models | ||
from . import tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data noupdate="1"> | ||
<odoo noupdate="1"> | ||
|
||
<record id="base.main_company" model="res.company"> | ||
<field name="sale_fiscal_category_id" ref="l10n_br_account_product.fc_78df616ab31e95ee46c6a519a2ce9e12"/> | ||
</record> | ||
<record id="base.main_company" model="res.company"> | ||
<field name="sale_fiscal_category_id" ref="l10n_br_account_product.fc_78df616ab31e95ee46c6a519a2ce9e12"/> | ||
</record> | ||
|
||
</data> | ||
</openerp> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<!-- Sale Order Teste - 1 --> | ||
<record id="l10n_br_sale_product_demo_1" model="sale.order"> | ||
<field name="name">Teste l10n_br_sale_product - 1</field> | ||
<field name="partner_id" ref="l10n_br_base.res_partner_akretion"/> | ||
<field name="partner_invoice_id" ref="l10n_br_base.res_partner_akretion"/> | ||
<field name="partner_shipping_id" ref="l10n_br_base.res_partner_akretion"/> | ||
<field name="user_id" ref="base.user_demo"/> | ||
<field name="pricelist_id" ref="product.list0"/> | ||
<field name="team_id" ref="sales_team.crm_team_1"/> | ||
<field name="state">draft</field> | ||
<field name="fiscal_category_id" ref="l10n_br_sale.demo_fiscal_category-venda"/> | ||
<field name="note">TESTE</field> | ||
</record> | ||
|
||
<record id="sale_order_line_teste_1-1" model="sale.order.line"> | ||
<field name="order_id" ref="l10n_br_sale_product_demo_1"/> | ||
<field name="name">Laptop Customized</field> | ||
<field name="product_id" ref="product.product_product_27"/> | ||
<field name="product_uom_qty">2</field> | ||
<field name="product_uom" ref="product.product_uom_unit"/> | ||
<field name="price_unit">3645.00</field> | ||
<field name="fiscal_category_id" ref="l10n_br_sale.demo_fiscal_category-venda"/> | ||
<field name="insurance_value">2.0</field> | ||
<field name="other_costs_value">1.0</field> | ||
<field name="freight_value">3.0</field> | ||
</record> | ||
|
||
<record id="sale_order_line_teste_1-2" model="sale.order.line"> | ||
<field name="order_id" ref="l10n_br_sale_product_demo_1"/> | ||
<field name="name">Mouse, Wireless</field> | ||
<field name="product_id" ref="product.product_product_12"/> | ||
<field name="product_uom_qty">2</field> | ||
<field name="product_uom" ref="product.product_uom_unit"/> | ||
<field name="price_unit">12.50</field> | ||
<field name="fiscal_category_id" ref="l10n_br_sale.demo_fiscal_category-venda"/> | ||
<field name="insurance_value">2.0</field> | ||
<field name="other_costs_value">1.0</field> | ||
<field name="freight_value">3.0</field> | ||
</record> | ||
|
||
</odoo> |
Oops, something went wrong.