Commit Graph

269 Commits

Author SHA1 Message Date
Bernat Brunet 33918c2eee Set 347 values for the new No Sujeto service tax. 2023-12-01 13:15:42 +01:00
Albert Cervera i Areny fc3bfb94a9 Convert sum attribute into boolean 2023-06-10 17:17:11 +02:00
Raimon Esteve 843609c8b4 Set invoice type before the party (scenario test) 2023-05-16 16:20:49 +02:00
Raimon Esteve cbb7ab0256 Increase version number 2023-05-10 17:21:16 +02:00
Raimon Esteve 9dee8e9c8f In case operation key is empty, not create 347 records
#050810
2023-03-27 14:51:10 +02:00
Bernat Brunet 9565d76674 Set new 'Exento Formaciones' Tax. 2023-03-16 15:03:46 +01:00
Bernat Brunet fb6123f984 Revert commit 95efd04032. The taxes now not use the type 'none', only use the 'percentage' or 'fixed' and both appera in account_invoice_tax. 2023-03-07 15:53:52 +01:00
Bernat Brunet 5ad8fa182d Fix round with currency compute, when calcualte total amount for the 347. 2023-02-28 17:11:48 +01:00
Bernat Brunet 974a9b4e97 Fix migration from 6.0 to 6.4. When call 'compute' function from account.tax model, adding the missing date value. 2023-02-27 15:12:34 +01:00
Bernat Brunet a20efbab04 Fix problem when try to generate the 347 register from an invoice that contain a tax with type == Nothing. 2023-02-27 11:57:25 +01:00
Bernat Brunet d333f3880c Fix problem when set month the moment when is created the 347 regsiter from invoice. Us the accounting_date and if it's None the invoice_date. Fix PEP8. 2023-02-14 12:06:40 +01:00
Juanjo Garcia b558bd1cc9 Add company in report query when calculate.
Task #073006
2023-01-26 10:42:59 +01:00
juanjo-nan 35aedf7ad5 Add new IVA Deducible 0%. (#7)
FIX IVA Deducible 5%.

Task #073006
2023-01-23 15:56:41 +01:00
Juanjo Garcia a34520b16a Add new tax IVA 0.
Task #073006
2023-01-09 11:31:47 +01:00
juanjo-nan 2ab827797c Add new tax IVA 5. (#6)
Task #073006
2023-01-04 10:21:48 +01:00
Raimon Esteve 970523b10d Use declarative index definition for ModelSQL
issue5757
2022-11-09 18:42:22 +01:00
Raimon Esteve d3e40fa8c0 Replace fiscalyear to year report
#059815
2022-11-08 10:52:12 +01:00
Raimon Esteve a30d571bce Increase version number 2022-08-17 14:12:54 +02:00
Jared Esparza 78d48236f9 Replace test setuptools command by unittest discover 2022-04-26 13:21:32 +02:00
Raimon Esteve e691718e0a Check rule only if _check_access is set and enforce companies rule
issue4080
2022-03-22 17:56:18 +01:00
Bernat Brunet 11098f7dc0 Remove Intracomunitari taxes setter because they are remove from account_es. 2022-03-11 00:19:34 +01:00
Raimon Esteve 64eb4f3752 Locales 2022-03-08 12:44:02 +01:00
Albert Cervera i Areny 9af0ba0ada Use ondelete='CASCADE' for Record. 2022-03-02 01:49:19 +01:00
Bernat Brunet ac58016542 Fix problme when some numerics fields ara None, conert to Decimal('0.0')
because retrofix need in this way.

Task #049774
2022-02-24 09:38:46 +01:00
Bernat Brunet 99863d7f4f Remove not used functional field on aeat_347_report model 2022-02-22 22:28:49 +01:00
Bernat Brunet cdd4949c18 Intracomunitary taxes need to be ignored in 347 report. 2022-02-08 14:48:15 +01:00
Bernat Brunet 6e81604651 Remove the setter of the operation 347 on the tax iva_dev_AI and iva_dev_AI_serv becaue they are removed on account_Es module 2022-02-08 11:22:06 +01:00
Raimon Esteve 14718c8262 Get AssertionError when retrofix_write()
#048685
2022-01-18 10:54:24 +01:00
Bernat Brunet 9abbeaeb7f Update IRPF tax set operation_347 field 2021-08-16 18:22:26 +02:00
Bernat Brunet ab78afa3a3 Fix bug in TAX call name 2021-08-12 10:47:07 +02:00
Bernat Brunet 2e9f9de6cd Remove some not nercessari 'Intracomunitariy' tax set.
Set new REAGP taxes

Remove group in form view not needed.

Fix PEP8
2021-08-11 14:24:38 +02:00
Raimon Esteve f58ecc5af6 Increase version number 2021-06-01 09:55:14 +02:00
Raimon Esteve 85660adcdd
Not get tax when tax is none
#044048
2021-05-27 11:15:03 +02:00
Raimon Esteve 1a209655fd Increase version number 2021-04-30 13:16:56 +02:00
Albert Cervera i Areny 682884d0d7 Rename zip into postal code (issue9853) 2021-04-01 15:45:58 +02:00
Raimon Esteve a73b3bd692 Replace _check_modify_exclude.add to set
From Batch posting invoices
issue10054
2021-03-12 08:46:12 +01:00
Bernat 5465458f2f Add operation definition for the new 'No sujeto' tax (#3)
* Add operation definition for the new 'No sujeto' tax

* Fix province_code set value. Set char not int.
2021-02-16 16:26:11 +01:00
Bernat Brunet d0dd8b6c4e Fix translation 2020-12-30 07:54:53 +01:00
Bernat Brunet 58aa2a1d91 Fix test and view with the updated field party_tax_identifier name 2020-12-30 00:49:09 +01:00
Bernat 8ec00b0306 042240 (#2)
* Change the way that 347 records are grouped, using the tax_identifier.

Use some account_es new functions to take country code and code
(NIF/CIF) from tax_identifier.

Update unit test.
2020-12-30 00:48:53 +01:00
Raimon Esteve dd30bf5471 Remove group_aeat_347_admin 2020-11-30 13:53:35 +01:00
Raimon Esteve 7d6ef8e182 Adapt to remove create_invoice_credit_with_refund patch 2020-11-30 11:00:28 +01:00
Bernat Brunet 63ab6b3b44 Merge branch 'master' of github.com:trytonspain/trytond-aeat_347 2020-11-30 10:15:56 +01:00
Bernat Brunet 35f3bbe019 Fix bug when create registers for each tax identifier. 2020-11-30 10:15:47 +01:00
Raimon Esteve 46f6910795 FIX get code from party_tax_identifier when is none
#042301
2020-11-27 13:32:01 +01:00
Jared Esparza 1ae7a3a2ee Fix bug if there is more than one party identifier 2020-11-25 14:53:41 +01:00
Raimon Esteve e49ac5c6fa Set iaeat347_operation_key when create an invoice
#041863
2020-11-24 10:34:50 +01:00
Bernat Brunet c75a25d0b4 Remove party module files not used and not needed.
Refactorized the registers calculation. Now are based and grouped by the tax idetifier set in the invoice.

This change is done to make an approach to the account_es core module
for a possible future migration.
2020-11-19 13:16:09 +01:00
Bernat Brunet e34aa3d6d1 Fix bug in the remove of include_347 tax rule used before 2020-11-09 17:59:26 +01:00
Raimon Esteve ce0a355d19 Check 347 taxes when has a tax
#041304
2020-09-17 11:01:52 +02:00