summaryrefslogtreecommitdiff
path: root/addons/account_tax_python/models
AgeCommit message (Collapse)Author
2019-08-30[MERGE] forward port branch 12.0 up to 52f6e38cea8Christophe Simonis
2019-08-27[FIX] account_tax_python: product is a templateNicolas Martinelli
- Create a new tax, using the 'Python Code' tax computation - In 'Applicable Code' field, use a field only available on the `product.product` model (e.g. `product.code`) - Attach this new tax to a product that is available in the eCommerce - Access the eCommerce, search for the product if not displayed. The template `website_sale.products_item` crashes at rendering because `code` is not available on a `product.template`. `product` is supposed to be a `product.product` recordset. However, the method `_get_combination_info` of `sale` is made in such a way that we can fetch the information of a template, not a product. Utlimately, methods `compute_all` and `_compute_amount` are called with the wrong object. We fall back on the first variant in this case. opw-2056722 closes odoo/odoo#36134 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-05-10[IMP] account, l10n_*: v13 taxesOlivier Colson
- Add repartition lines on taxes - Link account tags directly to account.move.line; remove the tag_ids field from account.tag - Add a new report engine dedicated to tax reports, directly generating account tags. It is called as an alternate mode of generic tax report, with a dedicated "Use tax grids" toggle. >> The biggest change lies in the way the new tax report computes its values. Everything is now aggregated directly using the tags set on the account move lines. Thanks to that, modifying the configuration of a tax today will not impact the report for the previous periods anymore. This is a big improvement, as it means the report will keep on reflecting the values that were submitted to the state before, whatever the configuration change. - Add an audit char field to account.move.line telling with tax grids are impacted by the line, with the corresponding amount - Modify the behavior of cash basis taxes: the cash basis account is now used as the transition account, while the regular account given in tax declaration is used to store the final entry (it was the opposite before) - Modify every l10n_* module in order to keep them consistent with these changes closes odoo/odoo#32833 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2017-12-04[IMP] account_tax_python: add the possibility to use some extra infoqdp-odoo
For example fields from the invoice. This might be needed by some localization using the python taxes. Was task 40282
2017-09-13[MERGE] forward port branch saas-15 up to 127dea7f668Christophe Simonis
2017-09-13[MERGE] forward port branch 10.0 up to 5b69f1a333bChristophe Simonis
2017-09-13[FIX] account_tax_python: correctly forward-port ↵Christophe Simonis
7eb7e9fd6e72764f28df19ab8803e1cceff38b4d
2017-09-13[MERGE] forward port branch 10.0 up to c8b5c013401Christophe Simonis
2017-09-13[MERGE] forward port branch 9.0 up to 7eb7e9fd6e7Christophe Simonis
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2017-01-13[REF] account: improve inheritability in chart template generation.David Arnold
This commit moves some code in order to compute all values of taxes from the tax template in _get_tax_vals(), to allow easier overwritting in localization. Courtesy of David Arnold. Was PR # 14982
2016-08-08[MIG] account: Migrate remaining old API chuncks of codeYannick Tivisse
2016-08-03[MIG] account_tax_python: remove openerp tag, add license, clean imports and ↵fwi-odoo
lint spaces
2016-08-03[MOV] account_tax_python: reorganize files according to guidelinesfwi-odoo