Commit Graph

70068 Commits

Author SHA1 Message Date
Martin Trigaux b0619887af [FIX] l10n_be_invoice_bba: add copy method to invoice to generate a new bba comunication when duplicating, courtesy of Peter Langenberg (Agaplan)
bzr revid: mat@openerp.com-20130805153713-os2c4d5bfwr0pgmk
2013-08-05 17:37:13 +02:00
Martin Trigaux 8c8567c197 [FIX] account: use dateformat instead of datetime for date objects
bzr revid: mat@openerp.com-20130805101538-jn8o05n13psmnp99
2013-08-05 12:15:38 +02:00
Launchpad Translations on behalf of openerp bb90e51a78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130803061336-i8noij4hjz9nxoow
bzr revid: launchpad_translations_on_behalf_of_openerp-20130804053709-rxcnnh17adwk94b4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130805063055-v6y7lrx7lcoemmk0
2013-08-05 06:30:55 +00:00
Martin Trigaux 44f7a82281 [FIX] account_voucher: evaluate move line account with correct precision
This bug may have generated incorrect account_voucher_line when validating a voucher with amount less than 1. This patch will avoid reproducing the problem on new lines but not fix already existing vouchers. To do so apply the following steps:

1. apply this patch
2. do a manual reconciliation of the account.move.lines with amount less than 1 (use the manual reconciliation menu to see every line, included 0-0 lines)
3. execute the following SQL query

DELETE FROM account_voucher_line WHERE id IN (SELECT l.id FROM account_voucher_line AS l JOIN account_voucher AS v ON (v.id = l.voucher_id) JOIN account_move_line AS ml ON (l.move_line_id = ml.id) WHERE l.amount = 0 AND v.state = 'draft' AND ml.debit = ml.credit AND ml.credit = 0);

that will remove account voucher lines from draft vouchers linked to an empty move lines

bzr revid: mat@openerp.com-20130802120311-oh64d47t8x6t1wf9
2013-08-02 14:03:11 +02:00
Launchpad Translations on behalf of openerp 110e74f46f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130802055826-b3m62j0sjc05lbns
2013-08-02 05:58:26 +00:00
Denis Ledoux b6cd0ea820 [FIX]auth_crypt: was storing password when passsing by res.users create, like auth_signup
bzr revid: dle@openerp.com-20130801162704-fbvghil7yir8zm8c
2013-08-01 18:27:04 +02:00
Denis Ledoux f551350b80 [FIX]auth_crypt: check_credentials checking if there is a password stored, if not, not trying to crypt anything and raise
bzr revid: dle@openerp.com-20130801151539-z0bes7ylx5qwa8tw
2013-08-01 17:15:39 +02:00
Denis Ledoux 5895b17ca1 [FIX]stock: wizard stock change qty, object_reference return an integer and not a browse record
bzr revid: dle@openerp.com-20130801142119-3kt689udw6j9zofz
2013-08-01 16:21:19 +02:00
Peter Langenberg 58bdae20d5 [FIX] l10n_be_invoice_bba: we don't want to generate BBA communication for anything other than out_invoice
bzr revid: pl@agaplan.eu-20130731154838-pjygijihw5otkk4e
2013-07-31 17:48:38 +02:00
Denis Ledoux ef18962918 [FIX]auth_ldap: remove base_crypt warning from manifest
bzr revid: dle@openerp.com-20130731153129-8hmqrgsg3e9d533f
2013-07-31 17:31:29 +02:00
Denis Ledoux a9718bec29 [FIX]auth_ldap: now using check_credentials instead of check
bzr revid: dle@openerp.com-20130731152018-fln3urf0expd9ps7
2013-07-31 17:20:18 +02:00
Martin Trigaux 1a0c4dd407 [FIX] res_currency: allow silent failing for computation of current rate if no rate exists, allow accessing the tree and form view if incorrectly configured currency
lp bug: https://launchpad.net/bugs/1174294 fixed

bzr revid: mat@openerp.com-20130731145128-flzp1imkyrh86zpa
2013-07-31 16:51:28 +02:00
Martin Trigaux ef3e11c03d [FIX] res_currency: pass context to currency function
bzr revid: mat@openerp.com-20130731123812-oztjyktifs23lhi9
2013-07-31 14:38:12 +02:00
Martin Trigaux 3393aa645c [FIX] res_currency: update linked tests
bzr revid: mat@openerp.com-20130731111054-g5p094izprzok3eo
2013-07-31 13:10:54 +02:00
Martin Trigaux fc2eb46b40 [IMP] res_currency: more modular solution
bzr revid: mat@openerp.com-20130731110525-garlkomohzcyp4pd
2013-07-31 13:05:25 +02:00
Martin Trigaux 48daabd465 [FIX] res_currency: avoid getting blocked when creating a curreny without rates
bzr revid: mat@openerp.com-20130731100626-kgxpvfkwkg13lpy1
2013-07-31 12:06:26 +02:00
Martin Trigaux 38bf262119 [IMP] stock: more fault tolerant usage of xml id
bzr revid: mat@openerp.com-20130731092732-9fa0xb66mo7uakb4
2013-07-31 11:27:32 +02:00
Launchpad Translations on behalf of openerp 49b1952180 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130731060956-vxbj0r9l9pzvfivu
2013-07-31 06:09:56 +00:00
Martin Trigaux ce11369083 [FIX] mrp: don't see produce button if don't have necessary quantity
lp bug: https://launchpad.net/bugs/1181168 fixed

bzr revid: mat@openerp.com-20130730150747-9yhd6xt0k7nhadbu
2013-07-30 17:07:47 +02:00
Olivier Dony d2ce7b4120 [FIX] ir.model: during creation of custom models, the _auto_init call should also take care of custom fields created on-the-fly
The _auto_init call in ir.model.fields creation will not
do it because it happens before the insertion of the model
in the registry. It will only work for later addition of
fields.

bzr revid: odo@openerp.com-20130730114645-185kbupcrbtnv1tf
2013-07-30 13:46:45 +02:00
Martin Trigaux 6fcd169b52 [FIX] report: force encoding of dateformat string
some locales have unicode into the date format (eg: zh_CN uses %Y年%m月%d日)
conversion using str() would not work for them
opw #593932

bzr revid: mat@openerp.com-20130730125534-77hfb2k6z7epbhsv
2013-07-30 14:55:34 +02:00
Olivier Dony cf666e2d78 [FIX] account: paypal url generation should not crash for draft invoices that have no number yet
bzr revid: odo@openerp.com-20130730091643-27iwpblnjgjc8a2j
2013-07-30 11:16:43 +02:00
Martin Trigaux 63b2e2c44c [FIX] base_calendar: don't compute reccuring events if reccurency checkbox is disabled
bzr revid: mat@openerp.com-20130730081409-d84sz1e1w2201yqr
2013-07-30 10:14:09 +02:00
Launchpad Translations on behalf of openerp bea114f93a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130730045806-pkwhfwt808zjajg9
2013-07-30 04:58:06 +00:00
Martin Trigaux 2f07aac8b2 [FIX] stock: remove warning popup on update product quantity wizard and correctly verify access rights on stock.location
lp bug: https://launchpad.net/bugs/1200194 fixed

bzr revid: mat@openerp.com-20130729135844-jtanbteqtg52ztnu
2013-07-29 15:58:44 +02:00
Martin Trigaux ecc9c506a5 [IMP] stock: don't raise error on default values if removed default stock locations data
lp bug: https://launchpad.net/bugs/1178876 fixed

bzr revid: mat@openerp.com-20130729121120-7xh05hcmo8iwbyfk
2013-07-29 14:11:20 +02:00
Martin Trigaux 10cda48728 [IMP] stock: don't raise error on default values if removed default stock locations data
bzr revid: mat@openerp.com-20130729102923-xx55fmomv72qbji6
2013-07-29 12:29:23 +02:00
Martin Trigaux 3037b94205 [FIX] sale_crm: allow modifying the default sale's team on user preferences
bzr revid: mat@openerp.com-20130729075824-jcxwd1va8yav4rjh
2013-07-29 09:58:24 +02:00
Launchpad Translations on behalf of openerp 20a0428e6f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130726054722-d69j4mwclp38job7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727052743-v62n9j5jvp11j2ji
bzr revid: launchpad_translations_on_behalf_of_openerp-20130728063405-ksa7gfbj9k4hajaj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130729055426-094ilqmvjoocrzmm
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727052813-u58hk431f664vao7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130728063427-t032j0icp8pkksol
bzr revid: launchpad_translations_on_behalf_of_openerp-20130729055503-id0512tblbixh8to
2013-07-29 05:55:03 +00: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
Martin Trigaux d5edec2e51 [MERGE] various changes
report_webkit: show labels on form view
account: correctly choose fiscal year on aged partner balance report

bzr revid: mat@openerp.com-20130726113408-c8biwoivuqvkh06m
2013-07-26 13:34:08 +02:00
Thibault Delavallée a3a0d3dbbf [FIX] mail: res was not created if there are no email in email_list when sending emails
bzr revid: tde@openerp.com-20130726101008-whwcl1ssh2fsxhbw
2013-07-26 12:10:08 +02:00
Martin Trigaux 2ee6e30f02 [IMP] report_webkit: show labels on form view, courtesy of Yannick Vaucher (Camptocamp)
lp bug: https://launchpad.net/bugs/1077238 fixed

bzr revid: mat@openerp.com-20130726093030-3umg02phcinzvklv
2013-07-26 11:30:30 +02:00
Martin Trigaux 87810e762d [FIX] account: select corresponding fiscal year when changing company on aged partner balance report, courtesy of Dawn Richardson
lp bug: https://launchpad.net/bugs/1185275 fixed

bzr revid: mat@openerp.com-20130726092134-axwqdopf1ampozcn
2013-07-26 11:21:34 +02:00
Launchpad Translations on behalf of openerp c738228631 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130726054745-ld13e2t0mrr1684x
2013-07-26 05:47:45 +00:00
Martin Trigaux 457aceff18 [IMP] mrp: properly remove product lines and workorder lines when confirming a manufacturing order, avoid getting traceback if trying action on deleted record
bzr revid: mat@openerp.com-20130725150909-ujh5xk2q2escr6a7
2013-07-25 17:09:09 +02:00
Martin Trigaux bb2b020741 [FIX] stock: for a stock picking set date start and end date based on expected (date_exected) instead of creation date (date)
bzr revid: mat@openerp.com-20130725114423-btn4hj53czcjh0ky
2013-07-25 13:44:23 +02:00
Martin Trigaux 81dd0b77f0 [FIX] hr_timesheet_invoice: better invoice price management
- if force product, use its sale price
- if on a journal of type 'general' (eg: expenses) and has a product, use its sale price
- else (eg: expenses) use the total amount on analytic lines

bzr revid: mat@openerp.com-20130725100402-gk201bqvwo2g9137
2013-07-25 12:04:02 +02:00
Martin Trigaux 4ccaac2ed5 [FIX] project_issue: reset kanban_state when changing the stage to be consistent with project_task
bzr revid: mat@openerp.com-20130725085659-1otlnox3wmdl8ocz
2013-07-25 10:56:59 +02:00
Launchpad Translations on behalf of openerp 205be82943 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130725054417-yilro7a52nwsb91r
2013-07-25 05:44:17 +00:00
Martin Trigaux 98ed3943ae [FIX] account_invoice: due date is reset to current date when we have no payment term and due date is manually defined
lp bug: https://launchpad.net/bugs/1102078 fixed

bzr revid: mat@openerp.com-20130724123421-nrd143m3g1a0qa67
2013-07-24 14:34:21 +02:00
Martin Trigaux 6365f69b4d [FIX] hr_timesheet_invoice: use product price on invoice even when not forcing
bzr revid: mat@openerp.com-20130724115907-i61nvau0d5jd5jrc
2013-07-24 13:59:07 +02:00
niv-openerp 9a688f2464 [FIX] some crash in the view manager
lp bug: https://launchpad.net/bugs/1202120 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130724114312-mksg94rr1afd90y4
2013-07-24 13:43:12 +02:00
Martin Trigaux 30f07ee98d [FIX] account_voucher: better voucher payment screen
revert commit 9310 with incorrect writeoff amount
hide writeoff reconcilation fields when no price difference
hide analytic_id (Write-Off Analytic Account) when not with_writeoff

bzr revid: mat@openerp.com-20130724094023-fbd1hqwe9hdh28id
2013-07-24 11:40:23 +02:00
Christophe Simonis 634fef80ef [IMP] WorkerCron: make the cron workers not all starting at the first database. Better repartition of work
[IMP] WorkerCron: renice process

Backport of commits 4891 chs@openerp.com-20130701120345-4687avu7re5pw6sf and 4892 chs@openerp.com-20130701125548-sgcaf71avwpleml1
of saas-1 branch

bzr revid: chs@openerp.com-20130724083454-fvmcm8be1ztezleg
2013-07-24 10:34:54 +02:00
Launchpad Translations on behalf of openerp b03ad78d56 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130724055415-sqjvueu7c3kdcn04
2013-07-24 05:54:15 +00:00
Martin Trigaux 3b61eb8627 [FIX] account_voucher: writeoff amount on unreconciled amount instead of price to allow negative writeoff (eg: negative currency change rate difference) (opw #593977)
bzr revid: mat@openerp.com-20130723141734-8wtbyn4ubz8rwfj1
2013-07-23 16:17:34 +02:00
Launchpad Translations on behalf of openerp b69a97f2af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130720062329-mtrdbu252gvcpm7v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130722055939-dhitotmhlxni5rhv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130723053256-3blj73xxu210ln3d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130723053317-s9hfdou4czw2abjh
2013-07-23 05:33:17 +00:00
Martin Trigaux 0b6e7ea4d3 [MERGE] [IMP] report_webkit: better installation message for wkhtmltopdf, courtesy of Yannick Vaucher (Camptocamp)
lp bug: https://launchpad.net/bugs/1113418 fixed

bzr revid: mat@openerp.com-20130722153657-5i04kjvq51lcjro1
2013-07-22 17:36:57 +02:00
Martin Trigaux 2dba43bf8e [MERGE] l10n_ca: courtsey of Maxime Chambreuil (savoirfairelinux)
[FIX] Fiscal positions.
[IMP] Separate different rates of HST. Update taxes (BC is not harmonized, PE is).
[IMP] better module description

lp bug: https://launchpad.net/bugs/1192629 fixed
lp bug: https://launchpad.net/bugs/1189050 fixed

bzr revid: mat@openerp.com-20130722143605-gq531dd0bqisq3e0
2013-07-22 16:36:05 +02:00