Commit Graph

70359 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp aaa9cfc2b2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915061126-sqjgy1285qq56ss2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130919045631-12f8i3qaw4d309mp
2013-09-19 04:56:31 +00:00
Frédéric van der Essen 6fb8cb4756 [FIX] point_of_sale: barcode scanner was not working in firefox due to usage of event.keyCode instead of event.which
bzr revid: fva@openerp.com-20130918153347-fy4nuvbm82ngfb8x
2013-09-18 17:33:47 +02:00
Olivier Dony 130afb812d [FIX] ir.mail.server: improve support for user names with emails
The previous fix in revision 5072 only allowed user names
that contained the exact same emails, but users will do
the wildest things like having `someone@domain.com` as
name but setting their email to `someone@domain2.com`.

This was blocked by our sanity check looking for a single
email in the From header. As this check is only done
in order to provide a better error message, it should
not impact valid cases.
Modifying the check to pass when at least one email
was found should be enough to catch most invalid cases,
without requiring a more advanced analysis of the
header value (the RFCs allows very strange things!)

bzr revid: odo@openerp.com-20130918143807-wqqpqomyu1ppa2ih
2013-09-18 16:38:07 +02:00
Martin Trigaux f37b2a0db4 [IMP] account: performance improvement on the creation of new account.move (opw #597719)
bzr revid: mat@openerp.com-20130918143146-bnmoje96alatdyc1
2013-09-18 16:31:46 +02:00
Frédéric van der Essen d30f5e8be6 [IMP] point_of_sale: when the product search returns only one product, order it on 'enter' keypress
bzr revid: fva@openerp.com-20130918134208-t9g50q8whdft4xzq
2013-09-18 15:42:08 +02:00
Frédéric van der Essen 645c3ccf65 [FIX] point_of_sale: currency should be fetched from the pricelist instead of the company
bzr revid: fva@openerp.com-20130918122836-pqi1w41swu4rcrga
2013-09-18 14:28:36 +02:00
Olivier Dony ff9e90fad6 [MERGE] tools.translate: add compatibility with Babel v.1.3, courtesy of Stefan Rijnhart (Therp)
lp bug: https://launchpad.net/bugs/1226576 fixed

bzr revid: odo@openerp.com-20130918081216-8dnkmyp4wif3nm24
2013-09-18 10:12:16 +02:00
Stefan Rijnhart 7de17a9358 [FIX] Keep backwards compatibility with Babel 0.9.6
bzr revid: stefan@therp.nl-20130918074505-59q1fs3ixlev1ein
2013-09-18 09:45:05 +02:00
Stefan Rijnhart a9b8936a4d [RVT] Undo previous fix
bzr revid: stefan@therp.nl-20130918074407-ae6yu2f001vxl0le
2013-09-18 09:44:07 +02:00
Martin Trigaux eb26358196 [FIX] sale_crm: move code reverted at revision 9452 to the sale_crm module instead of project_mrp
bzr revid: mat@openerp.com-20130918073333-xikarmzmmmdzp3ia
2013-09-18 09:33:33 +02:00
Olivier Dony 54c4fe7f01 [MERGE] project_mrp: correct reference to process.node from sales process
The project_mrp process extends the sales process at
the procurement phase, however that part of the sales
process has now been moved to the `sale_stock` module,
which is not a dependency of `project_mrp` anymore.
There is however little reason to duplicate that
process node, so as a temporary hack, we can copy
its external ID, even though there is no direct
dependency between the two.

For next version we should fix this hack by moving
the node to a common dependency between sale_stock
and project_mrp, such as `sale`.

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

bzr revid: odo@openerp.com-20130918074002-wrhnq0w4t8xx3rgv
2013-09-18 09:40:02 +02:00
Launchpad Translations on behalf of openerp 99576f547c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130918051117-44x8mgdnm0ucqyp4
2013-09-18 05:11:17 +00:00
Martin Trigaux bdf2395e3a [FIX] project_mrp: revert addition in commit 9445 breaking databases withtout mrp module
bzr revid: mat@openerp.com-20130917160918-dohb1lb5vtqsy5lv
2013-09-17 18:09:18 +02:00
Olivier Dony 4116a38181 [FIX] project_mrp: correct reference to process.node from sales process
The project_mrp process extends the sales process at
the procurement phase, however that part of the sales
process has now been moved to the `sale_stock` module,
which is not a dependency of `project_mrp` anymore.
There is however little reason to duplicate that
process node, so as a temporary hack, we can copy
its external ID, even though there is no direct
dependency between the two.

For next version we should fix this hack by moving
the node to a common dependency between sale_stock
and project_mrp, such as `sale`.

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

bzr revid: odo@openerp.com-20130917160337-lih7bjqastozga8w
2013-09-17 18:03:37 +02:00
Stefan Rijnhart b224b40fac [FIX] Restore compatibility with Babel > 0.9.6
lp bug: https://launchpad.net/bugs/1226576 fixed

bzr revid: stefan@therp.nl-20130917122312-r6s7dgzdsfil7xyg
2013-09-17 14:23:12 +02:00
Martin Trigaux c0be2ae2a7 [MERGE] [FIX] base_calendar: Fix domain evaluation for calendar recursive and fix search method for recurrency date
bzr revid: mat@openerp.com-20130917093906-3oe3xr7zaoc1r80m
2013-09-17 11:39:06 +02:00
Martin Trigaux edf34053ad [FIX] stock: use user's language as default value to fetch product translation
bzr revid: mat@openerp.com-20130917074045-4o5t46t7fucqr354
2013-09-17 09:40:45 +02:00
Martin Trigaux f699c0cb6e [FIX] stock: decimal precision of new_price field on update cost price wizard is not same as defined in cost_price field
bzr revid: mat@openerp.com-20130917073805-dg4yvxrjkv35k7p1
2013-09-17 09:38:05 +02:00
Launchpad Translations on behalf of openerp a46cbb7a31 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130913060803-zltruvkg213vqm57
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915061052-1kts2jol7uvq1n4f
bzr revid: launchpad_translations_on_behalf_of_openerp-20130917051850-e1s8v09muo1atjwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130917051903-257acdjbxi60zyv8
2013-09-17 05:19:03 +00:00
Martin Trigaux 7bdd9a6ad3 [FIX] hr_timesheet_sheet: use timezone in hour computation for timesheet
bzr revid: mat@openerp.com-20130916143300-sa3zpm505ac6r145
2013-09-16 16:33:00 +02:00
Martin Trigaux 461b5d8191 [MERGE] [FIX] mrp_subproduct: correctly take into account subproduct_factor when checking quantities on BoM
bzr revid: mat@openerp.com-20130916123442-cch34mghmwh1p18e
2013-09-16 14:34:42 +02:00
Martin Trigaux 3029fc869e [MERGE] [FIX] mrp: producing a BoM of type service is no longer blocked in ready state, correctly transmit project reference when create task from sale order
bzr revid: mat@openerp.com-20130916113323-8an09x0d7svv2j7d
2013-09-16 13:33:23 +02:00
Martin Trigaux 503f69cba3 [IMP] project_mrp: cleaning and add condition for triggering signal
bzr revid: mat@openerp.com-20130916100120-kuuyofh3o8e3iv8c
2013-09-16 12:01:20 +02:00
Martin Trigaux 7485ec46d7 [IMP] mrp: trigger workflow only if no move lines
bzr revid: mat@openerp.com-20130916094604-zonoyxeic948mjn2
2013-09-16 11:46:04 +02:00
Launchpad Translations on behalf of openerp 07f41591af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130914055308-488d7jp6pk12s4oq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915061118-idedxdulpa7nb0s0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130916061418-3r990vgrtgj1quyt
2013-09-16 06:14:18 +00:00
Paramjit Singh Sahota ba1ee5bc87 [IMP]Improved code for multiple bom.
bzr revid: psa@tinyerp.com-20130913133008-z1k76sq6jkvu8e6i
2013-09-13 19:00:08 +05:30
Paramjit Singh Sahota f008277c8b [MERGE] Merged lp:openobject-addon/7.0
bzr revid: psa@tinyerp.com-20130913091747-elttufebavyzk79s
bzr revid: psa@tinyerp.com-20130913131140-my74y02s9ojgmfmu
2013-09-13 18:41:40 +05:30
Frédéric van der Essen 0554984deb [FIX] sale.shop: The pricelist should be a required field
bzr revid: fva@openerp.com-20130913125748-x5wa2zsyc7rijim2
2013-09-13 14:57:48 +02:00
Thibault Delavallée fd5ad86c57 [FIX] account: fixed an error when using custom chart of accounts, could lead to no result in search in ir model data
bzr revid: tde@openerp.com-20130913082516-bv8lvmgmyay4o86s
2013-09-13 10:25:16 +02:00
Launchpad Translations on behalf of openerp 4cb9834833 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130913060838-a2k0hfitlgdrqj0h
2013-09-13 06:08:38 +00:00
Frédéric van der Essen 4080a18ac3 [FIX] point_of_sale: fixed text overflow issues due to long product names
bzr revid: fva@openerp.com-20130912155409-nh2j4a3ereqwt3nn
2013-09-12 17:54:09 +02:00
Frédéric van der Essen 00d1183947 [FIX] point_of_sale: onscreen keyboard would stop working when category changed + make it disappear outside product screen
bzr revid: fva@openerp.com-20130912151334-c3kc4c4137amrl9f
2013-09-12 17:13:34 +02:00
Frédéric van der Essen c82bbdbb91 [IMP] point_of_sale: make products searchable by internal reference (default_code)
bzr revid: fva@openerp.com-20130912141208-8xrxaf96j5jn5z9u
2013-09-12 16:12:08 +02:00
Christophe Simonis 1d91378ce2 [FIX] ir.ui.view: properly validate newly created inheriting views
When a new inheriting view is imported during a module
    installation, it is validated thanks to the _constraints
    on the ir.ui.view model. However the validation uses
    a rather convoluted system for validating the whole
    view tree at once (root view + all inherited changes)
    while only taking into account the views that belong
    to modules that are currently loaded.

    This complicated system is necessary to be able to
    operate on-the-fly at any point during the registry
    loading/initialization.

    Now because _constraints are checked during create()
    this particular validation happens *before* the
    external ID (ir.model.data entry) of that new view
    can be created (it obviously needs to wait until
    the view record is inserted). As a consequence the
    view validation cannot determine the module to
    which that new view belongs, and was erroneously
    ignoring it.
    Changing the view filtering to also include views
    that have triggered this check.
    Manually created views are not check during registry
    update.

bzr revid: chs@openerp.com-20130912141018-qmcyase8zqov9d01
2013-09-12 16:10:18 +02:00
Paramjit Singh Sahota 2b65bbfa82 [IMP] Improved code to return product_lines.
bzr revid: psa@tinyerp.com-20130912135445-xf0rmbh117fznd5v
2013-09-12 19:24:45 +05:30
Paramjit Singh Sahota 8825f2070b [IMP] Improved method name and code accordingly.
bzr revid: psa@tinyerp.com-20130912131434-99xv1prw3o4dy9ge
2013-09-12 18:44:34 +05:30
Martin Trigaux b17fd217bd [FIX] point_of_sale: correct _get_tax_amount to see several taxes in reports
bzr revid: mat@openerp.com-20130912130747-g3mj44w341v8ao2z
2013-09-12 15:07:47 +02:00
Paramjit Singh Sahota 387bffe50e [IMP] Divided the action_compute method and improved code according to that.
bzr revid: psa@tinyerp.com-20130912115556-9c67dzpr6mao251w
2013-09-12 17:25:56 +05:30
Thibault Delavallée 6df4eaacd5 [MERGE] [FIX] charts of account: fixed currency not selected on COA, added some missing default values (US/MA/VE).
Currency is found by adding values in ir.values and retrieving it when installing the COA.

In trunk/8.0, a new currency_id field will be added allowing to retrieve directly the currency.

bzr revid: tde@openerp.com-20130912113247-esuwq1zppcq2gakk
2013-09-12 13:32:47 +02:00
Paramjit Singh Sahota 000ca6103d [IMP] Added another testcase for 2 service type product
And improved code for bom product with service type product used in SO doesnt link the project perfectly.

bzr revid: psa@tinyerp.com-20130912110454-x9tidij14xj09joz
2013-09-12 16:34:54 +05:30
Paramjit Singh Sahota 8985dda550 [IMP] Improved the test case to make the product produce.
bzr revid: psa@tinyerp.com-20130912090636-h28zgcheleg9h9vm
2013-09-12 14:36:36 +05:30
Launchpad Translations on behalf of openerp a71caa14d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130911051954-5q0wh820h5himluq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130912071731-lxe3j09ejij11oty
2013-09-12 07:17:31 +00:00
Paramjit Singh Sahota a0cb8675df [IMP] Improved code
bzr revid: psa@tinyerp.com-20130911145615-wzy1kmajr7j1731y
2013-09-11 20:26:15 +05:30
Paramjit Singh Sahota a3482a990f [IMP] Improved code for the BOM with service type product.
bzr revid: psa@tinyerp.com-20130911141123-snw3u5mgtf4xv3k6
2013-09-11 19:41:23 +05:30
Paramjit Singh Sahota f716d9bf9c [REM] Removed the unwanted code.
bzr revid: psa@tinyerp.com-20130911123044-xgw123lfj62cx71x
2013-09-11 18:00:44 +05:30
Paramjit Singh Sahota 9ffd1e1346 [MERGE] Merged lp:openobject-addons/7.0
bzr revid: bde@tinyerp.com-20130904061852-ybzve9dslyqcrbnm
bzr revid: psa@tinyerp.com-20130911095650-s8yjb2zt1gxygbr6
2013-09-11 15:26:50 +05:30
Martin Trigaux 16293621dd [MERGE] [FIX] report: Skip register reports that have xsl but no xml
bzr revid: mat@openerp.com-20130911092947-4gy77vtgddpk1odh
2013-09-11 09:29:47 +00:00
Launchpad Translations on behalf of openerp c1ee146f7b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130911051946-7al2yclyqfsdurml
2013-09-11 05:19:46 +00:00
Olivier Dony b24e37db63 [FIX] ir.mail_server: be more lenient when validating From address
When a user has their email as name, the system will
construct the From header as "email<email>".
We previously forbade this, because the naive
check only counts the number of emails in
the From header.
We might need to drop that assert or implement
something better in the future.

bzr revid: odo@openerp.com-20130910143809-wu32dkz20es579nv
2013-09-10 16:38:09 +02:00
Turkesh Patel (Open ERP) 2003332c63 [FIX] remove use of search_read method
bzr revid: tpa@tinyerp.com-20130910094112-1rb8aq23vwwpyw6v
2013-09-10 15:11:12 +05:30