Skip to content

Commit

Permalink
Merge branch '15.0' into 15.0-l10n_br_automated_payment
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioluna authored Oct 11, 2021
2 parents b7a399b + b2f5b71 commit 929ae79
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 15 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,24 @@ Odoo Brasil - an easy way to use Odoo

Para dúvidas acesse: [Documentação](http://www.odoo-next.com.br/my/documents/)

[![Build Status](https://travis-ci.org/Trust-Code/odoo-brasil.svg?branch=13.0)](https://travis-ci.org/Trust-Code/odoo-brasil)
[![Coverage Status](https://coveralls.io/repos/github/Trust-Code/odoo-brasil/badge.svg?branch=13.0)](https://coveralls.io/github/Trust-Code/odoo-brasil?branch=13.0)
[![Build Status](https://travis-ci.org/Trust-Code/odoo-brasil.svg?branch=15.0)](https://travis-ci.org/Trust-Code/odoo-brasil)
[![Coverage Status](https://coveralls.io/repos/github/Trust-Code/odoo-brasil/badge.svg?branch=15.0)](https://coveralls.io/github/Trust-Code/odoo-brasil?branch=15.0)
[![Licence](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)



## Introdução

Este repositório adapta o Odoo 13 para ser usado no Brasil
Este repositório adapta o Odoo 15 para ser usado no Brasil

Procurando pelas outras versões?
* [Versão 14.0](https://github.com/Trust-Code/odoo-brasil/tree/14.0)
* [Versão 13.0](https://github.com/Trust-Code/odoo-brasil/tree/13.0)
* [Versão 12.0](https://github.com/Trust-Code/odoo-brasil/tree/12.0)
* [Versão 11.0](https://github.com/Trust-Code/odoo-brasil/tree/11.0)
* [Versão 10.0](https://github.com/Trust-Code/odoo-brasil/tree/10.0)



<p align="right"><a href="#top">:arrow_up:</a></p>

Expand Down
21 changes: 20 additions & 1 deletion br_coa_me_epp/models/account_tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,27 @@ class AccountTaxTemplate(models.Model):
('outros', 'Outros')], string="Tipo")

def _get_tax_vals(self, company, tax_template_to_tax):
# import pdb; pdb.set_trace()
res = super(AccountTaxTemplate, self)._get_tax_vals(
company, tax_template_to_tax)
res['domain'] = self.domain
return res


class AccountTax(models.Model):
_inherit = 'account.tax'

domain = fields.Selection([('icms', 'ICMS'),
('icmsst', 'ICMS ST'),
('pis', 'PIS'),
('cofins', 'COFINS'),
('ipi', 'IPI'),
('iss', 'ISS'),
('ii', 'II'),
('icms_inter', 'Difal - Alíquota Inter'),
('icms_intra', 'Difal - Alíquota Intra'),
('fcp', 'FCP'),
('irpj', 'IRPJ'),
('csll', 'CSLL'),
('irrf', 'IRRF'),
('inss', 'INSS'),
('outros', 'Outros')], string="Tipo")
2 changes: 1 addition & 1 deletion l10n_br_account/views/account_move.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<field name="amount_by_group" position="after">
<field name="tax_totals_json" position="after">
<div class="oe_subtotal_footer_separator" />
<field name="l10n_br_delivery_amount" />
<field name="l10n_br_expense_amount" />
Expand Down
4 changes: 2 additions & 2 deletions l10n_br_banco_inter/views/payment_transaction.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<odoo>

<record id="view_payment_transaction_form" model="ir.ui.view">
<!-- <record id="view_payment_transaction_form" model="ir.ui.view">
<field name="model">payment.transaction</field>
<field name="inherit_id" ref="payment.transaction_form" />
<field name="arch" type="xml">
<field name="date" position="after">
<field name="boleto_pdf"/>
</field>
</field>
</record>
</record> -->

</odoo>
2 changes: 1 addition & 1 deletion l10n_br_purchase/views/purchase_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form" />
<field name="arch" type="xml">
<field name="amount_tax" position="after">
<field name="tax_totals_json" position="after">
<div class="oe_subtotal_footer_separator oe_inline o_td_label"></div>
<field name="l10n_br_delivery_amount" />
<field name="l10n_br_expense_amount" />
Expand Down
2 changes: 1 addition & 1 deletion l10n_br_sale/views/sale_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<field name="amount_tax" position="after">
<field name="tax_totals_json" position="after">
<div class="oe_subtotal_footer_separator oe_inline o_td_label"></div>
<field name="l10n_br_delivery_amount" />
<field name="l10n_br_expense_amount" />
Expand Down
5 changes: 5 additions & 0 deletions l10n_br_website_sale/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@
'views/website_sale_view.xml',
'views/website_portal.xml',
],
'assets': {
'web.assets_frontend': [
'l10n_br_website_sale/static/src/js/website_sale.js',
]
}
}
5 changes: 0 additions & 5 deletions l10n_br_website_sale/views/website_sale_view.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<openerp>
<data>
<template id="assets_frontend" inherit_id="website.assets_frontend" name="Shop BR">
<xpath expr="." position="inside">
<script type="text/javascript" src="/l10n_br_website_sale/static/src/js/website_sale.js"></script>
</xpath>
</template>

<template id="br_website_sale_address" inherit_id="website_sale.address"
name="Website Sale Address">
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
signxml
pytrustnfe3
pysigep
pysigep
iugu-trustcode

0 comments on commit 929ae79

Please sign in to comment.