Commit graph

64 commits

Author SHA1 Message Date
Raimon Esteve 90864e572a Locales 2017-07-04 11:10:25 +02:00
Raimon Esteve 9a77e30990 Cancel before delete a report 2017-06-29 17:50:28 +02:00
Raimon Esteve 08be2d9bb2 IMP load invoices and not lost current lines 2017-06-29 17:44:06 +02:00
Raimon Esteve 0a616f8bdb Replace set required invoice to PYSON
Also add some report fields readonly when has lines
FIX from changeset-848333b3a574
2017-06-29 16:46:18 +02:00
Àngel Àlvarez 85d9c361bc manage exception on sending invoices and show message 2017-06-29 12:10:23 +02:00
Raimon Esteve e1820b0734 Locales 2017-06-30 10:33:42 +02:00
Raimon Esteve d2522120f1 fix searcher
Merge from changeset-bc83559ef5fb
2017-06-29 11:10:15 +02:00
Raimon Esteve db6c22d8b4 Set required in invoice report line
Each report line is related to an invoice
2017-06-29 10:56:18 +02:00
Daniel Möller 3cd133510e Protect recieved invoices counterpart queries
Counterpart is null for summarized invoices
2017-06-27 13:30:16 +02:00
Daniel Möller e2ee5df804 Parse queried total amount as python decimal 2017-06-27 12:52:14 +02:00
Daniel Möller b05a77b232 Response order does match report order. Refactor save block 2017-06-16 12:57:11 +02:00
Daniel Möller 070729ff05 Protect report attribute getters from null invoices
Invoice will be null for query reports if the invoice is not found
2017-06-28 15:06:52 +02:00
Raimon Esteve 6f9d9e6d25 Add dev comment about readonly send date field 2017-06-23 11:07:03 +02:00
Raimon Esteve e7c7c1929a Add AEAT section cfg to production/test env 2017-06-23 08:58:12 +02:00
Raimon Esteve 5117a5903c Group menus and actions in aeat XML 2017-06-22 23:57:55 +02:00
Sergio Morillo 058caa2ed9 Add 1.0 SII report version 2017-06-22 23:32:14 +02:00
Raimon Esteve 70859df826 Rename to sii_identifier_type party field 2017-06-22 23:13:59 +02:00
Raimon Esteve 536b664e5a Replace widget date readonly state + Selection options without break line 2017-06-22 18:44:36 +02:00
Raimon Esteve 45641530b5 Merge missing features from 3.4 and 4.0 series 2017-06-22 16:55:41 +02:00
Àngel Àlvarez 73e359f0b0 merge 2017-06-22 15:32:12 +02:00
Àngel Àlvarez e9327b6bb6 fix errors from all graft and merge 2017-06-16 10:56:07 +02:00
Daniel Möller c61a10fb70 Turn issue_date and presentation_date into date and datetime fields 2017-06-14 16:03:06 +02:00
Sergio Morillo b3cc59d634 Convert send_date to datetime 2017-06-14 10:59:47 +02:00
Sergio Morillo 2338f67157 Add send date to SII report. 2017-06-14 08:42:37 +02:00
Àngel Àlvarez bc51d1555e Recover mapping classes as tryton model, fix translations, on_change_currency 2017-06-13 15:35:49 +00:00
Àngel Àlvarez eda89857a0 add functional fields identifier_type and vat_code 2017-06-13 17:30:28 +02:00
Daniel Möller b5c6ab257f Add new model to store SII tax lines 2017-06-13 16:57:59 +02:00
Àngel Àlvarez 67facca5ac Grow report line model to store SII responses 2017-06-16 10:18:24 +02:00
Sergio Morillo 8f8e583b98 Merged trytonspain/trytond-aeat_sii into default 2017-06-13 15:49:08 +02:00
Àngel Àlvarez 6ddff47fbc make sii lines readonly except draft state 2017-06-13 12:58:20 +02:00
Daniel Möller c0a74283d5 Move mappers to their own file 2017-06-13 12:57:41 +02:00
Raimon Esteve 711d9c662c Change some parts about code rules 2017-06-12 23:29:26 +02:00
Sergio Morillo 555267ca96 Default book key, fix translations. 2017-06-12 21:09:45 +02:00
Daniel Möller fba61243ef Fix equivalence surcharge tax search 2017-06-12 16:56:03 +02:00
Àngel Àlvarez a29993fce7 minor fixes + default 2017-06-12 13:52:37 +02:00
Daniel Möller bcec6934a2 Support for REAGYP special regime taxes 2017-06-12 12:23:14 +02:00
Sergio Morillo b28d464265 Recover mapping classes as tryton model, fix translations, on_change_currency 2017-06-12 11:51:54 +02:00
Àngel Àlvarez f4096f87c1 remove unnecessary keys, make invoice_fields like account.tax fields, adapt on_change to version 4.0 2017-06-12 11:34:34 +02:00
Sergio Morillo bad19c9136 Fix mapper instantiation, vat_code format, identifier_type party selection 2017-06-08 08:36:48 +02:00
Àngel Àlvarez e584e3ddc1 add None to selection values 2017-06-07 16:45:12 +02:00
Àngel Àlvarez 35b4a71317 add sii key on taxes and method to load on invoices 2017-06-07 11:00:10 +02:00
Àngel Àlvarez b53df49ea1 spanish translation 2017-06-02 16:46:37 +02:00
Daniel Möller 2ce7f73a58 Map description and default tax equivalence surcharge to none 2017-06-01 16:46:39 +02:00
Àngel Àlvarez 323be8c166 update to 4.0 2017-06-01 11:44:52 +02:00
Daniel Möller 8ee79ab118 Move pyAEATsii to an external lib.
Support for custom counterpart id types.
Register mappers as tryton models to permit inheritance in other modules.
2017-05-30 13:27:40 +02:00
Daniel Möller 0f433c4e87 Value mapping hardcoding mechanism 2017-05-25 16:30:23 +02:00
Daniel Möller f70c2e363b Map rectified recieved invoice kind. 2017-05-25 16:13:07 +02:00
Daniel Möller bacc6235d4 Refactor invoice query services. 2017-05-25 15:45:25 +02:00
Daniel Möller e0fd5d1a26 SII services wrappers 2017-05-25 15:32:49 +02:00
Daniel Möller 8f96e5d65a Support for rectified invoices. Test mappings with pytest. 2017-05-25 12:54:31 +02:00