Commit Graph
70326 Commits
Author SHA1 Message Date
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
Martin Trigaux c544085823 [FIX] stock: Correctly pass referece for chained location on stock.picking (opw 593003)
bzr revid: mat@openerp.com-20130910072014-gwypjw7ve1a24oz9
bzr revid: mat@openerp.com-20130910072100-1aex749lp1fox3xl
2013-09-10 09:21:00 +02:00
Launchpad Translations on behalf of openerp 7d151605a2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130910052339-qlk3s9xi37dkmdl8
2013-09-10 05:23:39 +00:00
Denis Ledoux 1e7bc245e9 [FIX]base_calender: pop default_state from context before creating attendees (context propagation problem)
bzr revid: dle@openerp.com-20130909165307-hb9sbsaeyqywegbp
2013-09-09 18:53:07 +02:00
Christophe Simonis 0ab7f36534 [FIX] point_of_sale: ensure proxy connection have a session_id (opw 596899)
bzr revid: chs@openerp.com-20130909160310-iz978t1ofxeusvcl
2013-09-09 18:03:10 +02:00
Frédéric van der Essen 2356864eb4 [FIX] point_of_sale: Some azerty barcode reader setups would press 'shift' for each number, and those shift would end the barcode recognition. keypress ignores shifts and fixes the problem
bzr revid: fva@openerp.com-20130909154740-bjlp553wt11l1u18
2013-09-09 17:47:40 +02:00
Martin Trigaux 833bc853db [MERGE] [FIX] stock: Correctly pass referece for Chained Location (case: 593003)
bzr revid: mat@openerp.com-20130909153221-0o6nt9d9x0kfk7vt
2013-09-09 17:32:21 +02:00
Martin Trigaux ed8d17b720 [FIX] stock: correctly select sequence for internal moves (opw 591894)
bzr revid: mat@openerp.com-20130909152501-wp0zzwa7t1zd1wyd
2013-09-09 17:25:01 +02:00
Denis Ledoux 681a093c5b [FIX]l10n_be_coda: wizard coda import, search period that belong to the company of the journal
bzr revid: dle@openerp.com-20130909151548-t5b43fqcpprb4hxo
2013-09-09 17:15:48 +02:00
Olivier Dony 92b3661b04 [MERGE] modules.loading: extra loop when installing/upgrading modules to help solve missing deps
In some rare cases the dependencies have changed, and modules that newly depend
on a module that is not installed cannot be loaded on the first pass.

For technical reasons all installed/to upgrade/to remove modules have to be
processed before starting to consider new installations, so this requires
two passes.

In trunk the inner loop inside `load_marked_modules()` will be dropped
because it should be unnecessary.

bzr revid: odo@openerp.com-20130909150859-k8xykkorgnmv0xx0
2013-09-09 17:08:59 +02:00
Anael Closson a49dc25f95 [FIX] OPW 596899 : no session_id when using pos proxy
bzr revid: acl@openerp.com-20130909145630-i0oy0yifdkbfj7wm
2013-09-09 16:56:30 +02:00
Martin Trigaux d241afa6bd [FIX] product: pass count argument to super call for search (opw #585031)
bzr revid: mat@openerp.com-20130909140414-7mndwgkbwntgcgnj
2013-09-09 16:04:14 +02:00
Martin Trigaux 744c48819d [MERGE] res.users: synchronise partner's company with the one of the user
bzr revid: mat@openerp.com-20130909135835-ifvra8l05soptwwt
2013-09-09 15:58:35 +02:00
Martin Trigaux 93e93e8d4e [IMP] account: don't write state as draft on lines that are already in draft state (performace improvement)
bzr revid: mat@openerp.com-20130909125751-we5n8e018bwqadvz
2013-09-09 14:57:51 +02:00
Samus CTO (OpenERP) 4dd565b647 [FIX] modules.loading: extra loop when installing/upgrading modules to help solve missing deps
In some rare cases the dependencies have changed, and modules that depend on an uninstalled module
will not be processed on the first pass.

bzr revid: odo@openerp.com-20130909095004-n1dp2w5wnlb36742
2013-09-09 11:50:04 +02:00
Martin Trigaux 1ae3118c54 [FIX] stock: change wrong variable name
bzr revid: mat@openerp.com-20130909091837-jkzfijspdyw2g79y
2013-09-09 11:18:37 +02:00
Martin Trigaux 63a2e35cd8 [MERGE] [FIX] pass context for 2many fields in views
bzr revid: mat@openerp.com-20130909085809-qwtvig71g8re40fa
2013-09-09 10:58:09 +02:00
Martin Trigaux f17ab8b43c [FIX] stock: overwrite message_{un,}subscribe on stock.picking.{in,out}
lp bug: https://launchpad.net/bugs/1197169 fixed

bzr revid: mat@openerp.com-20130909081952-t6x482m9f3vt6xmg
2013-09-09 10:19:52 +02:00
Turkesh Patel (Open ERP) 84872f59c8 [IMP] improved code
bzr revid: tpa@tinyerp.com-20130909065930-u9btuxnl7ot19fuo
2013-09-09 12:29:30 +05:30
Turkesh Patel (Open ERP) 2e4b5e8130 [MRG] add default values for currency in all l10n_ modules lp:~openerp-dev/openobject-addons/7.0-coa-wizard-data-cod
bzr revid: tpa@tinyerp.com-20130909053941-prtpliol6yeaw09g
2013-09-09 11:09:41 +05:30
Turkesh Patel (Open ERP) b8c1905e7b [MRG] merge with lp:openobject-addons/7.0
bzr revid: tpa@tinyerp.com-20130909053300-bfsxzkyk600fg473
2013-09-09 11:03:00 +05:30
Chirag Dodiya (OpenERP Trainee) a5de1c3230 [IMP]Improved currency as per country data file
bzr revid: chiragdd7@gmail.com-20130909052054-zkxbfhh6xcrzhprn
2013-09-09 10:50:54 +05:30
Launchpad Translations on behalf of openerp 1b3e67fc72 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130908050306-6ff4thsz8hd67x3z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130909045922-jrx0xd00p3nszc9r
2013-09-09 04:59:22 +00:00
Launchpad Translations on behalf of openerp d8bd4d3652 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130907054014-6wekhttz1qczae31
bzr revid: launchpad_translations_on_behalf_of_openerp-20130908050234-ym1z7eoff4sxcfgf
2013-09-08 05:02:34 +00:00
Olivier Dony 54a8cbb7cd [MERGE] product: support string values for context pricelist key when computing prices
As of v7 search views will replace the value of any `self`
      literal in a @context attribute by the name of the
      record, whereas it used to be its ID.
      This means that the `Pricelist` filter used to display
      the product list with a specific pricelist would not
      work anymore.
      
      The fix requires a rather hackish name_search()
      override for product.pricelist because the display
      name of pricelists includes their currency, while
      that could be a valid name for a pricelist too.
      
      To avoid side-effects the name_search() override
      only picks up the special case used by the
      product.product._product_price() method when it
      tries to apply the context pricelist, that is
      with operator explicitly set to `=` and no extra
      domain `args`.

      Also avoid useless warning in log by disabling the actual
      filtering for the dummy pricelist_id field, whose
      only purpose is to alter the context.

      Finally, add a default _order for pricelists that is
      a bit more intuitive than the default sort by `id`.
      An explicit _order was required for the application of
      the `limit` in pure SQL, and using `name` seems slightly
      better than `id`.

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

bzr revid: odo@openerp.com-20130906161422-0huf2uwjg42shdqp
2013-09-06 18:14:22 +02:00
Olivier Dony 6de0051315 [FIX] product: support string values for context pricelist key when computing prices
As of v7 search views will replace the value of any `self`
      literal in a @context attribute by the name of the
      record, whereas it used to be its ID.
      This means that the `Pricelist` filter used to display
      the product list with a specific pricelist would not
      work anymore.
      
      The fix requires a rather hackish name_search()
      override for product.pricelist because the display
      name of pricelists includes their currency, while
      that could be a valid name for a pricelist too.
      
      To avoid side-effects the name_search() override
      only picks up the special case used by the
      product.product._product_price() method when it
      tries to apply the context pricelist, that is
      with operator explicitly set to `=` and no extra
      domain `args`.

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

bzr revid: odo@openerp.com-20130906155047-7dmozy2jpe1ca1p2
2013-09-06 17:50:47 +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