Commit Graph

2275 Commits

Author SHA1 Message Date
Olivier Dony 975667d190 [FIX] sale,sale_layout: avoid RML loop when printing SO with very long notes
Forward port of revision 5001 from the
6.0 branch. Apparently very long SO
notes (above 2200 characters) will cause
an endless loop while trying to render
inside a blockTable

bzr revid: odo@openerp.com-20120315181112-qa4ezlckzfycv5uy
2012-03-15 19:11:12 +01:00
Launchpad Translations on behalf of openerp ee40bd932c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052449-xr1pzp07rtg17k5j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052456-0x4knc5exg2mm14n
2012-03-08 05:24:56 +00:00
Launchpad Translations on behalf of openerp 6468fc876a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120301051917-fmqwoejs3938qms6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120302052441-nwqd0nqf2gjd8ucn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120303055455-mns5t3fuy78a9r66
bzr revid: launchpad_translations_on_behalf_of_openerp-20120304052145-yqor18r71d7fqmar
bzr revid: launchpad_translations_on_behalf_of_openerp-20120305051123-0j4vr09l95yo2fj5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229053027-ifd6ef34ebmox67l
bzr revid: launchpad_translations_on_behalf_of_openerp-20120305051129-fcwena1g6pvrc9y5
2012-03-05 05:11:29 +00:00
Launchpad Translations on behalf of openerp f210e73f21 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055251-o6ajm1k0ya17sd2j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226052201-liykx2ue4jufkcwc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055617-7bb3evbppqedlx8p
bzr revid: launchpad_translations_on_behalf_of_openerp-20120228063037-0nhyn4iid36dorfs
2012-02-28 06:30:37 +00:00
Launchpad Translations on behalf of openerp a3ac698fe8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071328-fl3yjw2gawigfooh
bzr revid: launchpad_translations_on_behalf_of_openerp-20120219063344-7w5y8nkweukg0f88
bzr revid: launchpad_translations_on_behalf_of_openerp-20120220061321-0z254064e8vsx286
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063558-wc526qfv4ko5s6q0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063603-medp0cjt2z5vy70x
2012-02-21 06:36:03 +00:00
Quentin (OpenERP) 25a8023696 [MERGE] lp:929373. Courtesy of Arif
bzr revid: qdp-launchpad@openerp.com-20120216165253-01d70hrlf8pmnn7x
2012-02-16 17:52:53 +01:00
Olivier Dony 11292d811c [MERGE] sale: invoice generation refactoring, courtesy of Alexis de Lattre
bzr revid: odo@openerp.com-20120215173252-0gjpehkjtmw5s1uk
2012-02-15 18:32:52 +01:00
Quentin (OpenERP) a9697c5404 [MERGE] lp881356
lp bug: https://launchpad.net/bugs/881356 fixed

bzr revid: qdp-launchpad@openerp.com-20120215171625-i3zf4nhhjuz82bob
2012-02-15 18:16:25 +01:00
Quentin (OpenERP) c4edc79625 [FIX] stock: corrected fix of bug 881356
bzr revid: qdp-launchpad@openerp.com-20120215171215-6r0ky0a8o6a6ogm3
2012-02-15 18:12:15 +01:00
Olivier Dony f1ed6465a7 [IMP] Restored sale.order._inv_get() method for compatibility
Also added missing context guard (all methods that access
the context should care for the None case, even if they
are currently always called with a context).
Improved docstrings to follow doc guidelines.

bzr revid: odo@openerp.com-20120215170911-8ekde3lqmkoxztae
2012-02-15 18:09:11 +01:00
Olivier Dony 882fb0d554 [MERGE] sale: Add _prepare_invoice(), courtesy of Alexis Delattre
bzr revid: odo@openerp.com-20120215162810-5c8t8i5nnb3jeyx9
2012-02-15 17:28:10 +01:00
arifmlpm@gmail.com 14c7e56309 Bug fix - https://bugs.launchpad.net/openobject-addons/+bug/929373
bzr revid: arifmlpm@gmail.com-20120214125653-05w3973ostuqpe5h
2012-02-14 18:26:53 +05:30
Olivier Dony da84f36eb4 [FIX] all: update context_today calls after API change
See also server revision 4053
revision-id: odo@openerp.com-20120214122413-rznpdyqajrzswk4o

bzr revid: odo@openerp.com-20120214122520-f4lyaoolw1sik7zo
2012-02-14 13:25:20 +01:00
Launchpad Translations on behalf of openerp 74b3b0bc69 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054303-2gawtr1s4zulhhhs
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054630-925y7kotw7axa7z4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214061906-2g5kxwe0xle5u54c
2012-02-14 06:19:06 +00:00
Olivier Dony 5fc1a9fc7b [FIX] all: use newly introduced fields.date.context_today
Following the introduction of fields.date.context_today,
correct the main cases where we need to use the user's
timezone instead of the default UTC one.
There are probably many minor cases where this may be
useful, but those cases should be easy to fix now
that there is a common way to fix them.

lp bug: https://launchpad.net/bugs/925361 fixed

bzr revid: odo@openerp.com-20120213180741-4hvd4p7wsep0fomf
2012-02-13 19:07:41 +01:00
Launchpad Translations on behalf of openerp 2aa2378015 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120211050953-f8t9zos3qjzmnj3t
bzr revid: launchpad_translations_on_behalf_of_openerp-20120212044319-nxuw0h7g5aqrqy4s
bzr revid: launchpad_translations_on_behalf_of_openerp-20120213045042-jyku2inv3wkcae91
2012-02-13 04:50:42 +00:00
Launchpad Translations on behalf of openerp 5d4664f823 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120210044704-ffxh1ikqgom660lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20120210045028-kbviilp8xdby42fi
2012-02-10 04:50:28 +00:00
Launchpad Translations on behalf of openerp 0e2e9ddd78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209055558-qfwy9bg1km791dys
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209071015-0jykfhbo8iamzpzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209072746-stmwycdircyzrxn4
2012-02-09 07:27:46 +00:00
Olivier Dony ae685f4af0 [MERGE] Contributed Costa Rica (es_CR) translations, courtesy of Carlos Vásquez / Clearcorp
bzr revid: odo@openerp.com-20120208162340-ml3ok32rh375n6ye
2012-02-08 17:23:40 +01:00
Quentin (OpenERP) b121990958 [FIX] sale, sale order report: display the payment term accordingly to what is specified on the SO, not on the partner
bzr revid: qdp-launchpad@openerp.com-20120208161548-4r3ypz6fotf4rvpg
2012-02-08 17:15:48 +01:00
Carlos Vásquez 3afecc7604 [ADD] es_CR.po: added po to all modules, copy from es.po or from pot
bzr revid: carlos.vasquez@clearcorp.co.cr-20120208145917-aaai0irh68omlzmb
2012-02-08 08:59:17 -06:00
Launchpad Translations on behalf of openerp 320b2d2e2e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208060921-wir47e717rh04xxn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208063913-vg9qdu30tx09ojrl
2012-02-08 06:39:13 +00:00
Olivier Dony 0a63ecb0cf [I18N] all: updated translation template
This should be the last major template sync
before the final release of 6.1.

bzr revid: odo@openerp.com-20120208010830-zchnkg48u7s40nw2
2012-02-08 02:08:30 +01:00
Launchpad Translations on behalf of openerp 35601a346f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120207045344-l7gkplf7icv5djit
bzr revid: launchpad_translations_on_behalf_of_openerp-20120207045952-t6bedpten4ms5hx4
2012-02-07 04:59:52 +00:00
Alexis de Lattre 188a937227 Add function _prepare_invoice(), which builds the dict containing the values of the invoice that will be created.
Remove function _inv_get() ; developers should inherit _prepare_invoice() now.

bzr revid: alexis@via.ecp.fr-20120201183123-kih36wb5ipoqvlc6
2012-02-01 19:31:23 +01:00
Alexis de Lattre d4842703e2 Remove the "ids" argument from the function _prepare_order_line_invoice_line because it is not needed in our _prepare_* functions.
bzr revid: alexis@via.ecp.fr-20120201182809-e842pbb9t4bx97y9
2012-02-01 19:28:09 +01:00
Raphael Collet eea68d6981 [MERGE] sale, purchase, stock: refactoring of invoice creation (Alexis de Lattre, Raphael Valyi)
bzr revid: rco@openerp.com-20120131105322-80x7fp2u1z5fyo6o
2012-01-31 11:53:22 +01:00
Launchpad Translations on behalf of openerp 69910d967c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050031-o00wn1tnzbkgjt6j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050331-w0omtl1lmfqzciwq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131052309-jtfsc2m4h3liyzb5
2012-01-31 05:23:09 +00:00
Vo Minh Thu ad4b6fcc21 [IMP] manifest: renamed active to auto_install.
bzr revid: vmt@openerp.com-20120130101837-zyebtyhfjypg2b4w
2012-01-30 11:18:37 +01:00
Launchpad Translations on behalf of openerp dbd909539b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120204052908-aafm0v5b5u2zzsse
bzr revid: launchpad_translations_on_behalf_of_openerp-20120205044838-266rlchio2rc58yh
2012-02-05 04:48:38 +00:00
Raphaël Valyi 12185b8c88 [REF] sale: refactored invoice line creation from picking including service. So we now use the same method as in invoicing upon order (the met$
This is better to have the code factored as checks upon accounts are factored in a single stronger code.
Also this fixes bug https://bugs.launchpad.net/openobject-addons/+bug/922427 I discovered while refactoring.
Notice that we still look at the picking type and eventually force the account_id (and yes that service line is a product).

lp bug: https://launchpad.net/bugs/922427 fixed

bzr revid: rvalyi@gmail.com-20120127050005-z1s4aby1qqcrpgbi
2012-01-27 03:00:05 -02:00
Raphaël Valyi bff885382c [REF] sale: extracted invoice line creation from sale order line in a prepare dict method.
The code is almost copied/pasted. The only things I changed is:
- I renamed a var to account_id for more clarity
- I let the user force some account_id as we will reuse the method from service invoicing from picking
- By checking vals, I let a chance to an overrider to group lines together (like my previous commit)

bzr revid: rvalyi@gmail.com-20120127045458-hrq9emlx8kro0kri
2012-01-27 02:54:58 -02:00
Raphaël Valyi a90cfab85d [MERGE] merged lp:~alexis-via/openobject-addons/extensible-stock-action_invoice_create
bzr revid: rvalyi@gmail.com-20120127044326-3nzow34fw1o8bwiz
2012-01-27 02:43:26 -02:00
Launchpad Translations on behalf of openerp 7dfe3e3413 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120126052824-8ja030g3lhanp8g7
2012-01-26 05:28:24 +00:00
Alexis de Lattre 7b6622a2eb Document the new methods I introduced with the standard @param and @return syntax
Remove a print

bzr revid: alexis@via.ecp.fr-20120119214053-8tf189abeszi208b
2012-01-19 22:40:53 +01:00
Quentin (OpenERP) 448555efbc [MERGE] lp:916704
bzr revid: qdp-launchpad@openerp.com-20120118133834-33e48s20r11zc2ct
2012-01-18 14:38:34 +01:00
Launchpad Translations on behalf of openerp 8fc14b07fc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120118044449-u5o363u389ur3ajo
2012-01-18 04:44:49 +00:00
Divyesh Makwana (Open ERP) 1a5158aa36 [FIX] sale : Invoicing - item not in translations
lp bug: https://launchpad.net/bugs/916704 fixed

bzr revid: mdi@tinyerp.com-20120117104940-bi26zopapb49r18g
2012-01-17 16:19:40 +05:30
Alexis de Lattre da9d506349 Override values even when they are empty (a user may empty a value on a sale order or purchase order and would like the empty field to be "copied" on the invoice).
bzr revid: alexis@via.ecp.fr-20120116141643-boglddgratoro59p
2012-01-16 15:16:43 +01:00
Launchpad Translations on behalf of openerp a61762c71f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120114051310-6sj2xkv5gwq8cr0p
2012-01-14 05:13:10 +00:00
Launchpad Translations on behalf of openerp 1ba5e0ae7c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120113044029-g5gennaovbmjxfut
bzr revid: launchpad_translations_on_behalf_of_openerp-20120113050144-no4194ciwerac0dr
2012-01-13 05:01:44 +00:00
Launchpad Translations on behalf of openerp a2895b719f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120111044006-ehpf8voofuo20mzc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120112054003-82qy0l7x1jbboc9r
bzr revid: launchpad_translations_on_behalf_of_openerp-20120112054058-8hdv1vhku59lbgb3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120112060622-vns7g4vc2v6thkme
2012-01-12 06:06:22 +00:00
Raphael Collet 75b7901bef [MERGE] sale: fix help string
bzr revid: rco@openerp.com-20120110093544-6axfr1wz2n6x72d1
2012-01-10 10:35:44 +01:00
Launchpad Translations on behalf of openerp 422763d435 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120110052215-m0wfoet7izxkisx9
2012-01-10 05:22:15 +00:00
Olivier Dony fdd1d95fc2 [IMP] moved module sequences from module to each module's manifest
bzr revid: odo@openerp.com-20120107041212-boocriorprywgni1
2012-01-07 05:12:12 +01:00
Alexis de Lattre 1f9401bf41 Add _get_partner_to_invoice() to purchase module.
Inheritance of _prepare_invoice() now replaces the functions _get_payment_term() and _get_address_invoice(). I have checked that these two functions are not used elsewere in the addons and extra-addons.

bzr revid: alexis@via.ecp.fr-20120105214230-3wetu0v1foyeate3
2012-01-05 22:42:30 +01:00
Alexis de Lattre 752186173f If the fiscal position has been changed on the sale order, the invoice should use the fiscal posion of the sale order and not the fiscal position of the partner.
bzr revid: alexis@via.ecp.fr-20120105162343-tf8359d8hrk7r2j1
2012-01-05 17:23:43 +01:00
Alexis de Lattre 638ca9122e Modularize the selection of the partner to invoice when invoicing from the picking.
With this modification, all the parameters of the invoice are correct even when the goods are delivered to a third party company i.e. when the partner who receives the goods (picking.address_id.partner_id) is not to partner who ordered the goods (picking.sale_id.partner_id).

bzr revid: alexis@via.ecp.fr-20120105160845-c6wk08k7v7i64zyl
2012-01-05 17:08:45 +01:00
Numerigraphe - Lionel Sausin bbd7528622 [FIX] Fix a bad string that was introduced while improving config wizards in sale.
bzr revid: ls@numerigraphe.fr-20120105085753-exuqx2djpcu6xgtz
2012-01-05 09:57:53 +01:00
Fabien Pinckaers b3799d61d8 [IMP] useability improvements
bzr revid: fp@tinyerp.com-20120104105911-wdxdeqdz5d1g33w1
2012-01-04 11:59:11 +01:00