Skip to content

Commit

Permalink
Merge branch '16.0' into 16.0-fix-compute_all_exception
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPForgeFlow authored Apr 11, 2024
2 parents d9ec9ed + 78fdd8b commit 558efde
Show file tree
Hide file tree
Showing 12 changed files with 215 additions and 169 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[account_avatax_exemption_base](account_avatax_exemption_base/) | 16.0.1.0.0 | | This application allows you to add exemptions base to Avatax
[account_avatax_oca](account_avatax_oca/) | 16.0.1.2.0 | [![dreispt](https://github.com/dreispt.png?size=30px)](https://github.com/dreispt) | Compute Sales Tax using the Avalara Avatax Service
[account_avatax_sale_oca](account_avatax_sale_oca/) | 16.0.1.1.2 | [![dreispt](https://github.com/dreispt.png?size=30px)](https://github.com/dreispt) | Sales Orders with automatic Tax application using Avatax
[account_avatax_oca](account_avatax_oca/) | 16.0.1.3.0 | [![dreispt](https://github.com/dreispt.png?size=30px)](https://github.com/dreispt) | Compute Sales Tax using the Avalara Avatax Service
[account_avatax_sale_oca](account_avatax_sale_oca/) | 16.0.1.2.0 | [![dreispt](https://github.com/dreispt.png?size=30px)](https://github.com/dreispt) | Sales Orders with automatic Tax application using Avatax
[account_avatax_website_sale](account_avatax_website_sale/) | 16.0.1.0.0 | [![cybernexus](https://github.com/cybernexus.png?size=30px)](https://github.com/cybernexus) | Ecommerce Sales Orders require tax recalculation prior to payment.
[account_fiscal_position_autodetect_optional_vies](account_fiscal_position_autodetect_optional_vies/) | 16.0.1.0.0 | [![victoralmau](https://github.com/victoralmau.png?size=30px)](https://github.com/victoralmau) | Account Fiscal Position Autodetect optional VIES
[account_fiscal_position_partner_type](account_fiscal_position_partner_type/) | 16.0.1.0.1 | | Account Fiscal Position Partner Type
Expand Down
2 changes: 1 addition & 1 deletion account_avatax_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Avalara Avatax Certified Connector",
"version": "16.0.1.2.0",
"version": "16.0.1.3.0",
"author": "Open Source Integrators, Fabrice Henrion,"
"Sodexis, Odoo Community Association (OCA)",
"summary": "Compute Sales Tax using the Avalara Avatax Service",
Expand Down
33 changes: 15 additions & 18 deletions account_avatax_oca/views/account_move_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,31 @@
</button>
<group id="header_right_group" position="inside">
<field name="hide_exemption" invisible="1" />
<!-- Non editable Exemptions -->
<field
name="exemption_code"
readonly="1"
attrs="{'invisible': [('hide_exemption','=',True)]}"
groups="!account.group_account_manager"
/>
<field
name="exemption_code_id"
readonly="1"
attrs="{'invisible': [('hide_exemption','=',True)]}"
groups="!account.group_account_manager"
/>
<!-- Editable Exemptions -->
<field
name="exemption_code"
attrs="{'invisible': [('hide_exemption','=',True)]}"
groups="account.group_account_manager"
/>
<field
name="exemption_code_id"
attrs="{'invisible': [('hide_exemption','=',True)]}"
groups="account.group_account_manager"
/>

<field name="location_code" />
<field
name="tax_on_shipping_address"
Expand Down Expand Up @@ -67,22 +82,4 @@
</notebook>
</field>
</record>
<record id="invoice_form_view_editable_field" model="ir.ui.view">
<field name="name">invoice.form.view.editable</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="view_move_form_inherit_1" />
<field
name="groups_id"
eval="[(6, 0, [ref('account.group_account_manager') ])]"
/>
<field name="mode">primary</field>
<field name="arch" type="xml">
<field name='exemption_code' position="attributes">
<attribute name="readonly">0</attribute>
</field>
<field name='exemption_code_id' position="attributes">
<attribute name="readonly">0</attribute>
</field>
</field>
</record>
</odoo>
2 changes: 1 addition & 1 deletion account_avatax_sale_oca/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Avalara Avatax Certified Connector for Sales Orders
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6cbe395a5d4413ae63a00153a40cde4bf489cf20c51efe84a170586127457e8c
!! source digest: sha256:537081a9ccc240451df341684856d30c6231f2ad50eccb0c77d9b9f7ba6621c0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
Expand Down
2 changes: 1 addition & 1 deletion account_avatax_sale_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Avalara Avatax Certified Connector for Sales Orders",
"version": "16.0.1.1.2",
"version": "16.0.1.2.0",
"author": "Open Source Integrators, Fabrice Henrion,"
"Sodexis, Odoo Community Association (OCA)",
"summary": "Sales Orders with automatic Tax application using Avatax",
Expand Down
79 changes: 50 additions & 29 deletions account_avatax_sale_oca/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"PO-Revision-Date: 2024-04-10 15:35+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_avalara_salestax__sale_calculate_tax
msgid "Auto Calculate Tax on SO Save"
msgstr ""
msgstr "Calcola automaticamente imposta al salvataggio OV"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_avalara_salestax__sale_calculate_tax
Expand All @@ -26,47 +28,50 @@ msgid ""
"warehouse_id, tax_on_shipping_address, SO line's price_unit, discount, "
"product_uom_qty"
msgstr ""
"Attiva automaticamente l'API per calcolare l'imposta se ci sono modifiche "
"nel warehouse_id del OV, tax_on_shipping_address, price_unit riga OV, "
"sconto, product_uom_qty"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__tax_amount
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order_line__tax_amt
msgid "AvaTax"
msgstr ""
msgstr "AvaTax"

#. module: account_avatax_sale_oca
#: model:ir.model,name:account_avatax_sale_oca.model_avalara_salestax
msgid "AvaTax Configuration"
msgstr ""
msgstr "Configurazione AvaTax"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__avatax_request_log
msgid "Avatax API Request Log"
msgstr ""
msgstr "Registro richiesta API AvaTax"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__avatax_response_log
msgid "Avatax API Response Log"
msgstr ""
msgstr "Registro risposta API AvaTax"

#. module: account_avatax_sale_oca
#: model_terms:ir.ui.view,arch_db:account_avatax_sale_oca.sale_order_update_form_view
msgid "Avatax Log"
msgstr ""
msgstr "Registro AvaTax"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__calculate_tax_on_save
msgid "Calculate Tax On Save"
msgstr ""
msgstr "Calcola imposta al salvataggio"

#. module: account_avatax_sale_oca
#: model_terms:ir.ui.view,arch_db:account_avatax_sale_oca.sale_order_update_form_view
msgid "Compute Taxes"
msgstr ""
msgstr "Calcola imposte"

#. module: account_avatax_sale_oca
#: model:ir.model,name:account_avatax_sale_oca.model_res_partner
msgid "Contact"
msgstr ""
msgstr "Contatto"

#. module: account_avatax_sale_oca
#. odoo-python
Expand All @@ -77,123 +82,136 @@ msgid ""
"\n"
" Please ensure that your tax advisor was consulted and the necessary tax exemption documentation was obtained for every state this Partner may have transactions."
msgstr ""
"Abilitare lo stato di esenzione per tutte le nazioni può comportare rischi "
"fiscali, e deve essere considerato con attenzione.\n"
"\n"
"Assicurarsi che il consulente fiscale sia stato interpellato e sia stata "
"ottenuta la necessaria documentazione di esenzione per ogni nazione nella "
"quale questo parnter può avere transizioni."

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_res_partner__property_exemption_country_wide
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_res_users__property_exemption_country_wide
msgid "Exemption Applies Country Wide"
msgstr ""
msgstr "Esenzione applicata a tutte le nazioni"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__exemption_code_id
msgid "Exemption Code"
msgstr ""
msgstr "Codice esenzione"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__exemption_code
msgid "Exemption Number"
msgstr ""
msgstr "Numero esenzione"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__hide_exemption
msgid "Hide Exemption & Tax Based on shipping address"
msgstr ""
msgstr "Nasconde esenzione e imposta in base all'indirizzo di spedizione"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_sale_order__exemption_code_id
msgid "It show the customer exemption code"
msgstr ""
msgstr "Visualizza il codice di esenzione del cliente"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_sale_order__exemption_code
msgid "It show the customer exemption number"
msgstr ""
msgstr "Visualizza il numero di esenzione del cliente"

#. module: account_avatax_sale_oca
#: model:ir.model,name:account_avatax_sale_oca.model_account_move
msgid "Journal Entry"
msgstr ""
msgstr "Registrazione contabile"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__location_code
msgid "Location Code"
msgstr ""
msgstr "Codice ubicazione"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_sale_order__location_code
msgid "Origin address location code"
msgstr ""
msgstr "Codice ubicazione origine indirizzo"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_avalara_salestax__override_line_taxes
msgid "Override Line Taxes"
msgstr ""
msgstr "Sovrascrivi righa imposte"

#. module: account_avatax_sale_oca
#: model:ir.model,name:account_avatax_sale_oca.model_sale_order
msgid "Sales Order"
msgstr ""
msgstr "Ordine di vendita"

#. module: account_avatax_sale_oca
#: model:ir.model,name:account_avatax_sale_oca.model_sale_order_line
msgid "Sales Order Line"
msgstr ""
msgstr "Riga ordine di vendita"

#. module: account_avatax_sale_oca
#: model:ir.model,name:account_avatax_sale_oca.model_account_tax
msgid "Tax"
msgstr ""
msgstr "Imposte"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__tax_address_id
msgid "Tax Address"
msgstr ""
msgstr "Indirizzo imposta"

#. module: account_avatax_sale_oca
#. odoo-python
#: code:addons/account_avatax_sale_oca/models/partner.py:0
#, python-format
msgid "Tax Compliance Risk"
msgstr ""
msgstr "Rischio conformità imposta"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__tax_on_shipping_address
msgid "Tax based on shipping address"
msgstr ""
msgstr "Imposta in base all'indirizzo di spedizione"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_sale_order__hide_exemption
msgid ""
"Uncheck the this field to show exemption fields on SO/Invoice form view. "
"Also, it will show Tax based on shipping address button"
msgstr ""
"Deselezionare questo campo per visualizzare i campi esenzione in OV/fattura "
"dalla vista. Inoltre, verrà visualizzato il pulsante 'Imposta in base "
"all'indirizzo di spedizione'"

#. module: account_avatax_sale_oca
#: model:ir.actions.server,name:account_avatax_sale_oca.action_sale_order_compute_taxes
msgid "Update taxes with AvaTax"
msgstr ""
msgstr "Aggiorna imposte con AvaTax"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_sale_order__is_avatax
msgid "Use Avatax API"
msgstr ""
msgstr "Utilizza API AvaTax"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,field_description:account_avatax_sale_oca.field_avalara_salestax__use_partner_invoice_id
msgid "Use Invoice partner's customer code in SO"
msgstr ""
msgstr "Utilizza il codice cliente del partener fattura nel OV"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_avalara_salestax__use_partner_invoice_id
msgid "Use Sales Order's Invoice Address field to determine TaxableStatus"
msgstr ""
"Utilizza il campo indirizzo dell'ordine di vendita per determinare lo stato "
"tassabile"

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_avalara_salestax__override_line_taxes
msgid ""
"When checked, the Avatax computed tax will replace any other taxes that may "
"exist in the document line."
msgstr ""
"Quando selezionata, l'imposta calcolata da AvaTax sostituirà ogni altra "
"imposta presente nella riga documento."

#. module: account_avatax_sale_oca
#: model:ir.model.fields,help:account_avatax_sale_oca.field_res_partner__property_exemption_country_wide
Expand All @@ -203,3 +221,6 @@ msgid ""
"exemption status, meaning that the exemption is considered applicable for "
"all states"
msgstr ""
"Quando abilitata, la nazione dell'indirizzo di consegna non è rilevante "
"nella verifica dello stato di esenzione, intendendo che l'esenzione si "
"considera applicabile a tutte le nazioni"
3 changes: 1 addition & 2 deletions account_avatax_sale_oca/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Avalara Avatax Certified Connector for Sales Orders</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6cbe395a5d4413ae63a00153a40cde4bf489cf20c51efe84a170586127457e8c
!! source digest: sha256:537081a9ccc240451df341684856d30c6231f2ad50eccb0c77d9b9f7ba6621c0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-fiscal-rule/tree/16.0/account_avatax_sale_oca"><img alt="OCA/account-fiscal-rule" src="https://img.shields.io/badge/github-OCA%2Faccount--fiscal--rule-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-fiscal-rule-16-0/account-fiscal-rule-16-0-account_avatax_sale_oca"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-fiscal-rule&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module is a component of the Avatax Integration with odoo app.
Expand Down
Loading

0 comments on commit 558efde

Please sign in to comment.