Commit Graph

209 Commits

Author SHA1 Message Date
Nicolas Martinelli bbbf317fd3 [FIX] l10n_be: VAT Declaration
The VAT declaration produces an error when uploaded to the official
website. Although the structure is correct, the "Representative" and the
"Declarant" contain the same information, which is not consistent.

opw-702066
2017-01-17 11:51:02 +01:00
Alexandre Fayolle 65c685ad24 [FIX] context mutations (#10368)
when extending these methods with the new api, the context is a frozendict
so we need to copy before mutating.

this patch was made by searching for key addition to context and calls to the
update() method on the 8.0 addons, and checking if a copy was made before in
the method.
2016-10-12 12:30:42 +02:00
Martin Trigaux 7f02fc9e4f
[FIX] l10n_be: allow more than 120 periods
The widget selection only shows the first 120 results.
The selection was most likely set to avoid creating new entries but it can be
done with an option tag. This allows to use the search on many2one fields.

opw-677908
2016-05-19 11:06:45 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Christophe Simonis 1eaa69d342 [MERGE] forward port of branch saas-5 up to 9e8e365 2014-06-25 12:44:13 +02:00
Christophe Simonis 9e8e3653f2 [MERGE] forward port of branch saas-4 up to f68c835 2014-06-25 12:43:41 +02:00
Denis Ledoux 8e83dbff5d [MERGE] Forward-port of 7.0 bugfixes up to 7d3453d119 2014-06-24 12:27:09 +02:00
Jos De Graeve b86e0a4392 [FIX] Partner VAT Intra XML delaration: Vat number format correction
The Partner VAT Intra XML delaration needs to have the VAT number
in the format without the country code prefix.

The current behaviour was to include the country code prefix in the
report which causes an SQLException error on uploading the XML file
to the Federal goverment's website.  While the error is non-descriptive
fixing the VAT number format fixes the error.
2014-06-23 18:18:42 +02:00
Fabien Meghazi 87378aac26 Convert form views @version="6.1" 2014-06-12 13:55:40 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Fabien Meghazi 1ac928af05 Set old form views as explicit @version="6.1" 2014-06-11 14:04:02 +02:00
Simon Lejeune 7e8dcc5600 [IMP] l10n_be and l1n_fr reports converted to QWeb
bzr revid: sle@openerp.com-20140422121105-osvy8ji5v40t70jf
2014-04-22 14:11:05 +02:00
Xavier ALT 8b3312e1f6 [FIX] l10n_be: fix no value in 'Code (Tax Code)' column on 'Print VAT Intra' preview report
bzr revid: xal@openerp.com-20131219145528-ppndys5c1jryefgk
2013-12-19 15:55:28 +01:00
Olivier Dony 44664076da [MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131120142131-s333lyva85cyn41o
bzr revid: odo@openerp.com-20131120144059-yyh7emvgdarff09b
bzr revid: odo@openerp.com-20131120144318-11nmn1zj00zmi10z
2013-11-20 15:43:18 +01:00
Martin Trigaux e05991bac2 [MERGE] [FIX] l10n_be: force 2 digits for vat declaration to be accepted by official website (opw 592464), courtesy of Wim Audenaert
bzr revid: mat@openerp.com-20131118125017-ny42vjg3gs1k0d2e
2013-11-18 13:50:17 +01:00
Denis Ledoux 546a191f0a [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9459 rev-id: fva@openerp.com-20130918153347-fy4nuvbm82ngfb8x
bzr revid: mat@openerp.com-20130826135110-f9q4p65ds2aholcw
bzr revid: dle@openerp.com-20130828141129-ecxl2vlpb8vw0o9f
bzr revid: dle@openerp.com-20130828162659-n8a0ku9o3h01qaov
bzr revid: dle@openerp.com-20130830094205-q3itwd7x0246d9n6
bzr revid: dle@openerp.com-20130830133604-mfnfbscn5wdk4vi4
bzr revid: dle@openerp.com-20130902131244-v9uh0s8rg4889i7j
bzr revid: mat@openerp.com-20130903134105-68ziuaccreu6rs61
bzr revid: chs@openerp.com-20130906171851-jtfsf4au1k30wwlr
bzr revid: dle@openerp.com-20130909103120-k5oefxgebhyslac3
bzr revid: dle@openerp.com-20130909170047-pbzw4ernvcpivbhh
bzr revid: chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: tde@openerp.com-20130912121059-k840pi4rwdzpez8g
bzr revid: dle@openerp.com-20130913085251-p906ci2divy82jur
bzr revid: tde@openerp.com-20130913092546-kzshg1a7sls566l8
bzr revid: mat@openerp.com-20130917122102-drf8fj9lrjj0fvju
bzr revid: mat@openerp.com-20130917161614-w8u2c1ayeb5kxm30
bzr revid: dle@openerp.com-20130918161305-7ep1642nxzyy3vhd
2013-09-18 18:13:05 +02:00
Martin Trigaux 8c2b5d2316 [FIX] l10n_be: VAT reports needs to have explicitly two digits, rounded values not accepted (sigh)
bzr revid: mat@openerp.com-20130906150835-zwg7zum91d713154
2013-09-06 17:08:35 +02:00
Olivier Dony 788eb29237 [MERGE] Forward-port of 7.0 bugfixes up to rev.9369 rev-id: launchpad_translations_on_behalf_of_openerp-20130820051502-deoiql3lru7goosd
bzr revid: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
2013-08-20 17:26:07 +02:00
Martin Trigaux 8806b2406f [MERGE] [ADD] l10n_be: l10n_be inherits from l10n_multilang, remove yml for automatic account assignment and replace it by the more common wizard in open state
bzr revid: mat@openerp.com-20130813122835-bvue248y36zkottt
2013-08-13 14:28:35 +02:00
Martin Trigaux 7773de66fe [FIX]l10n_be: use float instead of string for amont in vat_intra reports
bzr revid: mat@openerp.com-20130809122237-sym8vi6a24h0p2fc
2013-08-09 14:22:37 +02:00
Denis Ledoux a99b5786d1 [MERGE] Forward-port of 7.0 bugfixes up to rev. 9337 (dle@openerp.com-20130731153129-8hmqrgsg3e9d533f)
bzr revid: mat@openerp.com-20130726073123-6buqe3rg321gj5rw
bzr revid: odo@openerp.com-20130730110536-a74ea14pwb2y03ay
bzr revid: dle@openerp.com-20130801123703-frjhpeqwocsjo7ge
2013-08-01 14:37:03 +02:00
Martin Trigaux fc8ec438a6 [FIX] l10n_be: Intracom VAT Declaration, fix amount precision, courtesy of Peter Langenberg
lp bug: https://launchpad.net/bugs/1157173 fixed

bzr revid: mat@openerp.com-20130726120439-ht316ko3hs2u3l76
2013-07-26 14:04:39 +02:00
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +02:00
dle@openerp.com c59fe603ef [FIX]l10n_be: partner vat intra report rml
bzr revid: dle@openerp.com-20130610124549-kfk5wnl34ufd90q2
2013-06-10 14:45:49 +02:00
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
Peter Langenberg fb9e4230a2 [FIX]l10n_be: Intracom VAT Declaration -> mask amountsum wrong (Case: Ref 590279)
bzr revid: skh@openerp.com-20130528110032-vmik2zctvlwr3rcr
2013-05-28 16:30:32 +05:30
Ravi Gohil (OpenERP) b5f14d797e [FIX] l10n_be: Belgian VAT declaration file generated by OpenERP not accepted by VAT web site as the amount in it may, all the time, not have 2 digits after decimal point. (Maintenance Case: 592464) Courtesy: Wim Audenaert
bzr revid: rgo@tinyerp.com-20130510110145-mk2gj7br772br795
2013-05-10 16:31:45 +05:30
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Peter Langenberg 5e5345791c [FIX]l10n_be: Intracom VAT Declaration -> mask amountsum wrong (Case: Ref 590279)
bzr revid: skh@tinyerp.com-20130322100931-k09u7hyucfmgdco6
2013-03-22 15:39:31 +05:30
Geert Janssens 9749e4794d Make belgian chart of accounts multilingual
This allows it to be translated into Flemish.
The code is based on the code for l10n_ch.
Note that the post install hook 'l10n_be_wizard.yml' has
been replaced with a python hook in 'wizard/account_wizard.py'.
This was done because the yml based hook runs before the
actual translations are loaded and hence fails to
properly translate the chart of accounts.

Lastly, a first, incomplete translation has been included.

bzr revid: geert@kobaltwit.be-20130311203530-otzkg7ox3m9kmpcd
2013-03-11 21:35:30 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Olivier Dony 5db87bea9c [MERGE] Bugfixes from 6.1 until revision 6800
bzr revid: odo@openerp.com-20121206153856-9y9v8ok6yxo6l5f0
2012-12-06 16:38:56 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Fabien Pinckaers 8aee403faa [MERGE] fix belgian VAT statement
bzr revid: fp@tinyerp.com-20121113081246-vvwv5cvintjfg9gg
2012-11-13 09:12:46 +01:00
Mayur Maheshwari (OpenERP) ce2d38922e [FIX]l10_be : imp little bit
bzr revid: mma@tinyerp.com-20121105102102-sxbu9q584bp7gyfy
2012-11-05 15:51:02 +05:30
Mayur Maheshwari (OpenERP) 3518a4f2dc [IMP]10_be : improved code
bzr revid: mma@tinyerp.com-20121105101407-fsxjwisg9ajgim07
2012-11-05 15:44:07 +05:30
Dhruti Shastri b855f0bdd8 [FIX]l10_be : Wizard thorws error instead of User Friendly Warning
bzr revid: mma@tinyerp.com-20121105061518-9zixa8lr22z7v9j5
2012-11-05 11:45:18 +05:30
Quentin (OpenERP) bc44da05a1 [IMP] reports: use of FormatLang(amount, currency_obj=...) instead of printing currency.symbol directly in the report
bzr revid: qdp-launchpad@openerp.com-20121011094002-7unxi6bi2hh2u6k5
2012-10-11 11:40:02 +02:00
Fabien Pinckaers fcaf435c28 [MERGE]
bzr revid: fp@tinyerp.com-20120929085513-0iz1ozvko3o21x2e
2012-09-29 10:55:13 +02:00
Fabien Pinckaers 5ffbf77067 [MERGE] fixes in account
bzr revid: fp@tinyerp.com-20120920092726-5747f5kj14u26sb1
2012-09-20 11:27:26 +02:00
Turkesh Patel (Open ERP) 1db324a102 [FIX] improved code and improved view of the Partner VAT Listing wizard
bzr revid: tpa@tinyerp.com-20120913124857-q3g856yeihw9p934
2012-09-13 18:18:57 +05:30
Turkesh Patel (Open ERP) a931a9f298 [IMP] improved code of periodical vat declaration wizard.
bzr revid: tpa@tinyerp.com-20120913092814-eoxgnv0vzydpwfp3
2012-09-13 14:58:14 +05:30
Turkesh Patel (Open ERP) f29d02f20a [IMP] l10n_be:improved error typo.
bzr revid: tpa@tinyerp.com-20120913064030-7xpjf5ss7sdyjb81
2012-09-13 12:10:30 +05:30
Amit Bhavsar (Open ERP) 75a2c8432f Merge with latest addons.
bzr revid: amb@tinyerp.com-20120824133855-blxce4x2oezskbah
2012-08-24 19:08:55 +05:30
Vo Minh Thu 9822629548 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120813160657-ilujdek8ys4fzhp9
2012-08-13 18:06:57 +02:00
Twinkle Christian (OpenERP) 4c17810919 [IMP]Remove type field from the views
bzr revid: tch@tinyerp.com-20120808130614-ppieuro8um3fylbt
2012-08-08 18:36:14 +05:30
Antonin Bourguignon fe5956057a [FIX] spelling: 'insufficient data' instead of 'data insufficient'
bzr revid: abo@openerp.com-20120807102326-sro2nxr4zn95zhs1
2012-08-07 12:23:26 +02:00
pso (OpenERP) e5da0e191b [MERGE] Merged with main branch
bzr revid: pso@tinyerp.com-20120725125332-7qe6b3l0fjryast2
2012-07-25 18:23:32 +05:30
Rajesh Prajapati (OpenERP) 71122ae47a [IMP]tooltip : I have changed the tooltip of fields as suggested
bzr revid: rpr@tinyerp.com-20120713101751-zokuph2bcpcmlfc5
2012-07-13 15:47:51 +05:30