odoo/odoo.git
10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 29 Apr 2014 06:41:21 +0000 (06:41 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140429064121-xnusb4mb3r8vgtzh

10 years ago[MERGE] [FIX] hr_timesheet_sheet: make it timezone tolerant and avoid errors when...
Martin Trigaux [Mon, 28 Apr 2014 15:32:16 +0000 (01:32 +1000)]
[MERGE] [FIX] hr_timesheet_sheet: make it timezone tolerant and avoid errors when comparing datetime and dates, courtesy of Yannick Vaucher (Camptocamp)

The attendance date recieved by the server is in UTC while the user sees it in his timezone. This means that an attendance could be in a timesheet (bounded by dates) for a user but not for the server which would not accept a valid attendance.
The fix will make the check in the user's timezone.

Only the date part of the attendance is kept for comparison as the boundaries are dates objects.

bzr revid: mat@openerp.com-20140428153216-4s6r5hu1ov0p0ofm

10 years ago[FIX] safe_eval: allow STORE_FAST and DELETE_FAST opcodes, used e.g. for comprehensio...
Olivier Dony [Mon, 28 Apr 2014 15:11:33 +0000 (17:11 +0200)]
[FIX] safe_eval: allow STORE_FAST and DELETE_FAST opcodes, used e.g. for comprehension expressions

bzr revid: odo@openerp.com-20140428151133-uz7mphscch35dl6o

10 years ago[UPD] resolve conflicts with main branch and fix bug introduced in rev 10015 lp:1313622
Yannick Vaucher [Mon, 28 Apr 2014 14:20:17 +0000 (16:20 +0200)]
[UPD] resolve conflicts with main branch and fix bug introduced in rev 10015 lp:1313622

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

bzr revid: yannick.vaucher@camptocamp.com-20140428142017-3warx1ai72cfetj1

10 years ago[UPD]
Yannick Vaucher [Mon, 28 Apr 2014 13:55:35 +0000 (15:55 +0200)]
[UPD]

bzr revid: yannick.vaucher@camptocamp.com-20140428135535-o9512996d18cudgq

10 years ago[FIX] base: ir.model.fields, write, use tools.ustr instead of str so it handle if...
Denis Ledoux [Mon, 28 Apr 2014 11:00:42 +0000 (13:00 +0200)]
[FIX] base: ir.model.fields, write, use tools.ustr instead of str so it handle if the string is already unicode

Writing special chars in the field label resulted in a traceback (write only, no problem with creation)

bzr revid: dle@openerp.com-20140428110042-qeaswuwsquy1612h

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 27 Apr 2014 06:18:44 +0000 (06:18 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140427061844-eycgmbqvphlakiz3

10 years ago[FIX] multi_company: set currency of OpenERP US to USD in the demo data
Denis Ledoux [Fri, 25 Apr 2014 13:34:21 +0000 (15:34 +0200)]
[FIX] multi_company: set currency of OpenERP US to USD in the demo data

bzr revid: dle@openerp.com-20140425133421-czisl2dpm5hletts

10 years ago[FIX] product: price computation failed when for pricelists based on Cost price for...
Denis Ledoux [Fri, 25 Apr 2014 12:55:07 +0000 (14:55 +0200)]
[FIX] product: price computation failed when for pricelists based on Cost price for non-employee users

bzr revid: dle@openerp.com-20140425125507-njfyl1r6wn11vqwx

10 years ago[FIX] view: avoid propagation of context while executing an action
Martin Trigaux [Fri, 25 Apr 2014 12:00:02 +0000 (14:00 +0200)]
[FIX] view: avoid propagation of context while executing an action

As the action could lead to unrelated model, keeping the defaults, groupby and ref do not make sense.
Backport of saas-2 revision 3872, 3891, 3892, 3893 and 3905

lp bug: https://launchpad.net/bugs/1101840 fixed
lp bug: https://launchpad.net/bugs/1263888 fixed

bzr revid: mat@openerp.com-20140425120002-g4126s9it705hwj5

10 years agosync with 7.0
Martin Trigaux [Fri, 25 Apr 2014 11:35:55 +0000 (13:35 +0200)]
sync with 7.0

bzr revid: mat@openerp.com-20140425113555-nkjxldq61io6kvdo

10 years ago[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet...
Martin Trigaux [Fri, 25 Apr 2014 10:08:56 +0000 (12:08 +0200)]
[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet (opw 592632)

bzr revid: mat@openerp.com-20140425100856-lcpgyjdk4u632bws

10 years ago[FIX] update to latest version saas code with updated underscore lib
Martin Trigaux [Thu, 24 Apr 2014 16:08:33 +0000 (18:08 +0200)]
[FIX] update to latest version saas code with updated underscore lib

bzr revid: mat@openerp.com-20140424160833-p0uf6zzst0pnj3i7

10 years ago[FIX] sale_stock: recreate delivery order generates only the remaining products to...
Denis Ledoux [Thu, 24 Apr 2014 15:51:41 +0000 (17:51 +0200)]
[FIX] sale_stock: recreate delivery order generates only the remaining products to deliver

Like it should do, the feature was broken
Moreover, it resolves a performance issue (do with 100 lines took up to 10 minutes)

bzr revid: dle@openerp.com-20140424155141-qtp5o5nrp0whlk9t

10 years ago[MERGE] [FIX] stock: add product_lot group on Traceability group as some parts of...
Martin Trigaux [Thu, 24 Apr 2014 15:22:06 +0000 (17:22 +0200)]
[MERGE] [FIX] stock: add product_lot group on Traceability group as some parts of this group are restricted to this group and you can have production_lot without tracking_lot, courtesy of Mohammad Alhashash

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

bzr revid: mat@openerp.com-20140424152206-m4dnmee28w3yomsq

10 years ago[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet
Martin Trigaux [Thu, 24 Apr 2014 14:28:29 +0000 (16:28 +0200)]
[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet

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

bzr revid: mat@openerp.com-20140424142829-ramy830hwkghk1jv

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 24 Apr 2014 06:32:49 +0000 (06:32 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140424063249-gwnojb5kvlq544nz

10 years ago[FIX] stock: pass the geven limit attribute in read_group call, courtesy of Guewen...
Martin Trigaux [Wed, 23 Apr 2014 15:06:21 +0000 (17:06 +0200)]
[FIX] stock: pass the geven limit attribute in read_group call, courtesy of Guewen Baconnier

bzr revid: mat@openerp.com-20140423150621-rjiae83nxh5tqyau

10 years ago[FIX] amount_to_text: make sure accented string is in unicode
Martin Trigaux [Wed, 23 Apr 2014 15:02:15 +0000 (17:02 +0200)]
[FIX] amount_to_text: make sure accented string is in unicode

bzr revid: mat@openerp.com-20140423150215-578nzug1glccvpwy

10 years ago[MERGE] [FIX] stock: fix error when executing a read_group on stock.picking.in and...
Martin Trigaux [Wed, 23 Apr 2014 13:25:52 +0000 (15:25 +0200)]
[MERGE] [FIX] stock: fix error when executing a read_group on stock.picking.in and out, courtesy of Yannick Vaucher (Camptocamp)

bzr revid: mat@openerp.com-20140423132552-hpnr2skutqranvsj

10 years ago[FIX] hr_timesheet_sheet: allow writing attendance line not according to the date...
Denis Ledoux [Wed, 23 Apr 2014 11:25:54 +0000 (13:25 +0200)]
[FIX] hr_timesheet_sheet: allow writing attendance line not according to the date order, and check that the attendances satisfy the alternance constraint, even for delete operations

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

bzr revid: dle@openerp.com-20140423112554-75bpk5k3viroqbh5

10 years ago[MERGE] [FIX] account_voucher: in recompute_voucher_lines, ensure the price value...
Martin Trigaux [Wed, 23 Apr 2014 10:18:47 +0000 (12:18 +0200)]
[MERGE] [FIX] account_voucher: in recompute_voucher_lines, ensure the price value is not modified when computing the writeoff_amount.

Using the remaining amount for writeoff does not make sense as the amount is already in credit or debit lines.
This issue could be observed in the payment wizard where the execution of _compute_writeoff_amount (through onchange) would be a negative value at the first execution.

bzr revid: mat@openerp.com-20140423101847-s0efihzqe7jcdcps

10 years ago[MERGE] [FIX] procurement: default_get in orderpoint make a search instead of hardcod...
Martin Trigaux [Wed, 23 Apr 2014 10:03:24 +0000 (12:03 +0200)]
[MERGE] [FIX] procurement: default_get in orderpoint make a search instead of hardcoding a warehouse as it's possible te user do not have access to it (e.g. multicompany), courtesy of Romain Deheele(Camptocamp)

bzr revid: mat@openerp.com-20140423100324-6stypg5uapnl1s5f

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 23 Apr 2014 07:03:00 +0000 (07:03 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140423065826-x7fmgc85ckhi9s8u
bzr revid: launchpad_translations_on_behalf_of_openerp-20140423070300-k249yxs2ghd1vaof

10 years ago[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recomp...
Ravi Gohil (OpenERP) [Wed, 23 Apr 2014 07:01:39 +0000 (12:31 +0530)]
[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recompute_voucher_lines(...). (Maintenance Case: 605632)

bzr revid: rgo@tinyerp.com-20140423070139-ielwafap3zcupglx

10 years ago[FIX] web: abitility to do exact id matching with child_of operator for searchs on...
Denis Ledoux [Tue, 22 Apr 2014 15:09:18 +0000 (17:09 +0200)]
[FIX] web: abitility to do exact id matching with child_of operator for searchs on many2one fields

bzr revid: dle@openerp.com-20140422150918-nxv2v4bcvi6u3v6g

10 years ago[FIX] base: in partner search view, use operator=child_of instead of filter_domain...
Denis Ledoux [Tue, 22 Apr 2014 15:07:36 +0000 (17:07 +0200)]
[FIX] base: in partner search view, use operator=child_of instead of filter_domain with a child_of domain

operator child_of has the advantage to do exact ID matching for many2one, and not just matching on the name

bzr revid: dle@openerp.com-20140422150736-o2t3eank6yqttlel

10 years ago[FIX] *: in search views, use operator=child_of instead of filter_domain with a child...
Denis Ledoux [Tue, 22 Apr 2014 15:07:10 +0000 (17:07 +0200)]
[FIX] *: in search views, use operator=child_of instead of filter_domain with a child_of domain

operator child_of has the advantage to do exact ID matching for many2one, and not just matching on the name

bzr revid: dle@openerp.com-20140422150710-mr9x3vyq0wcg31l5

10 years ago[MERGE] [FIX] stock: when duplicating a stock.move, remove serial number and tracking...
Martin Trigaux [Tue, 22 Apr 2014 14:03:37 +0000 (16:03 +0200)]
[MERGE] [FIX] stock: when duplicating a stock.move, remove serial number and tracking information in every cases instead of specific to duplication of invocies, courtesy of Guewen Baconnier

bzr revid: mat@openerp.com-20140422140337-ymq7x133eicy6rpa

10 years ago[FIX] account: avoid tax on name search to execute request with empty journal (if...
Martin Trigaux [Tue, 22 Apr 2014 13:50:12 +0000 (15:50 +0200)]
[FIX] account: avoid tax on name search to execute request with empty journal (if context == {'journal_id': False}) (opw 606875)

bzr revid: mat@openerp.com-20140422135012-6faelx7cf0p8cvab

10 years ago[FIX] note: typo in manifest
Denis Ledoux [Tue, 22 Apr 2014 13:05:06 +0000 (15:05 +0200)]
[FIX] note: typo in manifest

bzr revid: dle@openerp.com-20140422130506-934g9o433kdhmwnp

10 years ago[FIX] account: Advance search on 'Tax' from journal items leads to traceback if we...
Ravi Gohil (OpenERP) [Tue, 22 Apr 2014 11:11:15 +0000 (16:41 +0530)]
[FIX] account: Advance search on 'Tax' from journal items leads to traceback if we do not select any journal. (Maintenance Case: 606875)

bzr revid: rgo@tinyerp.com-20140422111115-17e6juruftp3oj2r

10 years ago[FIX] sale: move demo data from sale to sale_stock
Martin Trigaux [Tue, 22 Apr 2014 10:50:39 +0000 (12:50 +0200)]
[FIX] sale: move demo data from sale to sale_stock

A better fix would be to create a sale_procurement module (sale_stock has sale, procurement and stock as dependecies) but a bit overkill for simple demo data

bzr revid: mat@openerp.com-20140422105039-vqvxejd123cmtc0s

10 years ago[MERGE] [FIX] account unreconciliation and voucher cancelation (opw 605498)
Martin Trigaux [Tue, 22 Apr 2014 10:45:45 +0000 (12:45 +0200)]
[MERGE] [FIX] account unreconciliation and voucher cancelation (opw 605498)

When canceling a voucher or unreconciling move lines, make sure the linked invoice is still correct and has valid payment lines (if cancel one of two payments, should have the other one left).
Forward-port from 6.0 addons revision:5094

Oh, by the way, revision 10000 !

bzr revid: mat@openerp.com-20140422104545-900yfw8gckse1iay

10 years ago[MERGE][FIX] stock: typos in inventory analysis wizard - opw 606933
Denis Ledoux [Tue, 22 Apr 2014 10:28:16 +0000 (12:28 +0200)]
[MERGE][FIX] stock: typos in inventory analysis wizard - opw 606933

bzr revid: dle@openerp.com-20140422102816-zw6mqlmr3lt0xwp5

10 years ago[FIX] account_voucher & account_move_line: while we have partial payment and we cance...
Amit Dodiya [Tue, 22 Apr 2014 10:11:28 +0000 (15:41 +0530)]
[FIX] account_voucher & account_move_line: while we have partial payment and we cancel one payment it also unlink the reconcile/partial reconcile tag from other payment entries also

bzr revid: ado@tinyerp.com-20140422101128-ugudle2s7ysc6n1p

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 22 Apr 2014 08:24:59 +0000 (08:24 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140419063533-z6kswp5wkioh5jlv
bzr revid: launchpad_translations_on_behalf_of_openerp-20140420055842-traoy17xi60ufook
bzr revid: launchpad_translations_on_behalf_of_openerp-20140421050815-44ydlitvsaj3xdd9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140422082459-bfjqgpt2bpgll64p

10 years ago[FIX] convert: use _all_columns instead of _columns as it contain fields from inherit...
Martin Trigaux [Tue, 22 Apr 2014 07:56:01 +0000 (09:56 +0200)]
[FIX] convert: use _all_columns instead of _columns as it contain fields from inherited models.

bzr revid: mat@openerp.com-20140422075601-s382vj4c4ren882i

10 years ago[FIX] en_US typos - opw 606933
Anael Closson [Tue, 22 Apr 2014 07:38:26 +0000 (09:38 +0200)]
[FIX] en_US typos - opw 606933

bzr revid: acl@openerp.com-20140422073826-0w9ne38ub8nh7p4v

10 years ago[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recomp...
Ravi Gohil (OpenERP) [Mon, 21 Apr 2014 11:23:39 +0000 (16:53 +0530)]
[FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recompute_voucher_lines(...). (Maintenance Case: 605632)

bzr revid: rgo@tinyerp.com-20140421112339-36q7ifaplea40r56

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 20 Apr 2014 05:58:23 +0000 (05:58 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140418072138-5fv3mmbsqnlcpk4b
bzr revid: launchpad_translations_on_behalf_of_openerp-20140419063447-v94cfwvpby4h6d0v
bzr revid: launchpad_translations_on_behalf_of_openerp-20140420055823-r61ad07jgr3110pw

10 years ago[FIX] convert: use _all_columns instead of _columns as it contain fields from inherit...
Martin Trigaux [Fri, 18 Apr 2014 16:45:52 +0000 (18:45 +0200)]
[FIX] convert: use _all_columns instead of _columns as it contain fields from inherited models.

bzr revid: mat@openerp.com-20140418164552-2mlprexkdlqlui2h

10 years ago[FIX] mail: correct missing comma in domain on mail.mail
Martin Trigaux [Fri, 18 Apr 2014 14:05:08 +0000 (16:05 +0200)]
[FIX] mail: correct missing comma in domain on mail.mail

bzr revid: mat@openerp.com-20140418140508-y0fnxsbgda0gp6t4

10 years ago[FIX] FieldMany2One: avoid error when saving changes in popup from a related fields...
Martin Trigaux [Fri, 18 Apr 2014 09:20:33 +0000 (11:20 +0200)]
[FIX] FieldMany2One: avoid error when saving changes in popup from a related fields (opw 606601)

bzr revid: mat@openerp.com-20140418092033-mvqng3thuy61kfoq

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 18 Apr 2014 07:21:54 +0000 (07:21 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140418072154-969nr7hzpppvd0mw

10 years agoFix group by access error on stock.picking.in/out in multi company by ensuring the...
Yannick Vaucher [Thu, 17 Apr 2014 16:49:53 +0000 (18:49 +0200)]
Fix group by access error on stock.picking.in/out in multi company by ensuring the good ir rules are applied, this is done by calling read_group using stock.picking intead of stock.picking.in/out.

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

bzr revid: yannick.vaucher@camptocamp.com-20140417164953-7bjuggmhktv7mfwx

10 years ago[REVERT] web: 4174 revid:dle@openerp.com-20140415130732-bud8xb3pzgxw2imr, break the...
Denis Ledoux [Thu, 17 Apr 2014 16:09:19 +0000 (18:09 +0200)]
[REVERT] web: 4174 revid:dle@openerp.com-20140415130732-bud8xb3pzgxw2imr, break the kanban drag and drop, which is far more important than the show more button wrongly displayed in ie.

bzr revid: dle@openerp.com-20140417160919-ftwk0jtci9dwuu7h

10 years ago[FIX] account_analytics_plan: for bank statement move, the analytic distribution...
Denis Ledoux [Thu, 17 Apr 2014 13:26:16 +0000 (15:26 +0200)]
[FIX] account_analytics_plan: for bank statement move, the analytic distribution must not be written on the counterpart move line

bzr revid: dle@openerp.com-20140417132616-w71ctwn0w653yn0v

10 years ago[FIX] note: folded by default was not considered
Denis Ledoux [Thu, 17 Apr 2014 11:04:35 +0000 (13:04 +0200)]
[FIX] note: folded by default was not considered

bzr revid: dle@openerp.com-20140417110435-u8uwwcf5ji1b54ao

10 years ago[FIX] web: double click on save button was trying to save the data two times if there...
Denis Ledoux [Thu, 17 Apr 2014 10:12:17 +0000 (12:12 +0200)]
[FIX] web: double click on save button was trying to save the data two times if there is some latency, event target should be used instead of delegate target

bzr revid: dle@openerp.com-20140417101217-3fwnm76qne6f1vwk

10 years ago[FIX] web: double click on save button was trying to save the data two times if there...
Denis Ledoux [Thu, 17 Apr 2014 10:10:00 +0000 (12:10 +0200)]
[FIX] web: double click on save button was trying to save the data two times if there is some latency

bzr revid: dle@openerp.com-20140417101000-6gtyxntkm5d7zcoy

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 17 Apr 2014 06:53:16 +0000 (06:53 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140417065316-5cle12k1npy96t4m

10 years ago[FIX] crm_helpdesk: when creating a new helpdesk category
Thibault Delavallée [Wed, 16 Apr 2014 13:08:04 +0000 (15:08 +0200)]
[FIX] crm_helpdesk: when creating a new helpdesk category
it was not possible to re-use the category due to a missing object_id.

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

bzr revid: tde@openerp.com-20140416130804-xfgi8dr5703mr49o

10 years ago[FIX] crm_todo: usability fix: the lead was not present
Thibault Delavallée [Wed, 16 Apr 2014 13:03:56 +0000 (15:03 +0200)]
[FIX] crm_todo: usability fix: the lead was not present
in the task form view, but in the tree view, it is now present in both view when coming from 'my tasks' in crm menu.

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

bzr revid: tde@openerp.com-20140416130356-i3a5pqcib8smdx47

10 years ago[FIX] base: search groups by full name not working with operators 'in' nor with opera...
Denis Ledoux [Wed, 16 Apr 2014 11:22:39 +0000 (13:22 +0200)]
[FIX] base: search groups by full name not working with operators 'in' nor with operand boolean

bzr revid: dle@openerp.com-20140416112239-vl20z3xzgp61vygu

10 years ago[FIX]Fixed the issue of reference field throws traceback that view is undefined,...
Mohammed Shekha [Wed, 16 Apr 2014 08:38:57 +0000 (14:08 +0530)]
[FIX]Fixed the issue of reference field throws traceback that view is undefined, the reason is that reference field passing DefaultFieldManager while creating instance of many2one widget and DefaultFieldManager is eventually extending instance.web.widget not instance.web.form.FormWidget and hence DefaultFieldmanager will nto having view attribute, instead of calling self.view.do_onchange, trigger changed_value which is going to do the same job.

bzr revid: msh@tinyerp.com-20140416083857-sug0k4a28nkvgg27

10 years ago[FIX] account_anglo_saxon: avoid incorrect conversion while creating invoice in diffe...
Martin Trigaux [Wed, 16 Apr 2014 08:29:15 +0000 (10:29 +0200)]
[FIX] account_anglo_saxon: avoid incorrect conversion while creating invoice in different currency than the one of the company (opw 606408).

Without this patch the generated entries would use incorrect currencies. The expected result from move_line_get are prices in the currency of the invoice.

bzr revid: mat@openerp.com-20140416082915-555nhsvi8l0mmyxi

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 16 Apr 2014 07:06:27 +0000 (07:06 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140416070627-eneildfcgmfpyjxy

10 years ago[FIX] mail: mail: convert attachments to binary as it is the expected format of messa...
Martin Trigaux [Tue, 15 Apr 2014 16:29:11 +0000 (18:29 +0200)]
[FIX] mail: mail: convert attachments to binary as it is the expected format of message_post opw 604205

The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.

bzr revid: mat@openerp.com-20140415162911-fe3306wn9w258ii7

10 years ago[FIX] mail: convert attachments to binary as it is the expected format of message_pos...
Martin Trigaux [Tue, 15 Apr 2014 16:14:41 +0000 (18:14 +0200)]
[FIX] mail: convert attachments to binary as it is the expected format of message_post opw 604205

The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.

bzr revid: mat@openerp.com-20140415161441-q6pfueetvv0namgw

10 years ago[FIX] stock: before creating chained pickings, regroup moves by chained auto packing
Denis Ledoux [Tue, 15 Apr 2014 16:03:31 +0000 (18:03 +0200)]
[FIX] stock: before creating chained pickings, regroup moves by chained auto packing

Before, all moves issued from a same purchase order were put in the same chained picking, and, therefore, the moves were all treated with the same behavior (manually, automaticaly, ...)

bzr revid: dle@openerp.com-20140415160331-kzgib87qabvpc86p

10 years ago[FIX] web_kanban: show more button of kanban view behind the kanban cards on (ie9)
Denis Ledoux [Tue, 15 Apr 2014 13:07:32 +0000 (15:07 +0200)]
[FIX] web_kanban: show more button of kanban view behind the kanban cards on (ie9)

bzr revid: dle@openerp.com-20140415130732-bud8xb3pzgxw2imr

10 years ago[MERGE][FIX] account: while refuding the invoice with payment term journal items...
Denis Ledoux [Tue, 15 Apr 2014 10:07:02 +0000 (12:07 +0200)]
[MERGE][FIX] account: while refuding the invoice with payment term journal items are created wrongly with write-off account

bzr revid: dle@openerp.com-20140415100702-s13cuejf89gtlnhc

10 years ago[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculat...
Ravi Gohil (OpenERP) [Tue, 15 Apr 2014 09:47:23 +0000 (15:17 +0530)]
[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)

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

bzr revid: rgo@tinyerp.com-20140415094723-hly42ii5c8hdcnw4

10 years ago[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculat...
Ravi Gohil (OpenERP) [Tue, 15 Apr 2014 09:38:18 +0000 (15:08 +0530)]
[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)

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

bzr revid: rgo@tinyerp.com-20140415093818-ckfck3tc513k3lvv

10 years ago[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculat...
Ravi Gohil (OpenERP) [Tue, 15 Apr 2014 09:26:08 +0000 (14:56 +0530)]
[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)

bzr revid: rgo@tinyerp.com-20140415092608-hplfg4ftsuxhu7rh

10 years ago[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculat...
Ravi Gohil (OpenERP) [Tue, 15 Apr 2014 09:14:28 +0000 (14:44 +0530)]
[FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)

bzr revid: rgo@tinyerp.com-20140415091428-az1rx5ngz79j4fh6

10 years ago[FIX] purchase: invoiced based on invoiced bool of purchase order line, instead of...
Denis Ledoux [Tue, 15 Apr 2014 08:12:11 +0000 (10:12 +0200)]
[FIX] purchase: invoiced based on invoiced bool of purchase order line, instead of rate

invoiced bool of purchase order line is set to true on invoice validation, not on invoice creation

bzr revid: dle@openerp.com-20140415081211-jz6if0vzgq3inzzw

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 15 Apr 2014 07:53:37 +0000 (07:53 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140415075130-aqn4mzx05l3txtkb
bzr revid: launchpad_translations_on_behalf_of_openerp-20140415075337-ulie3qkes53t8ivf

10 years ago[FIX] account: name_search methods used '=' or 'ilike' to search, instead of the...
Denis Ledoux [Mon, 14 Apr 2014 12:19:30 +0000 (14:19 +0200)]
[FIX] account: name_search methods used '=' or 'ilike' to search, instead of the actual operator

Therefore, for example, searching invoices for journals doesnt containing 'sales' actually returned invoices with journal containing 'sales'.

bzr revid: dle@openerp.com-20140414121930-xbawuj93ddifhf4m

10 years ago[MERGE] [FIX] FormView: avoid multiple creations of the same line in o2m fields when...
Martin Trigaux [Mon, 14 Apr 2014 08:10:03 +0000 (10:10 +0200)]
[MERGE] [FIX] FormView: avoid multiple creations of the same line in o2m fields when the save action fails (e.g. forgot one required field)

This is done by removing the added action 'prepend_on_create' that can be present as many time as we pressed the save button

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

bzr revid: mat@openerp.com-20140414081003-290q4v21q01m4rsi

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 14 Apr 2014 05:59:48 +0000 (05:59 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094217-3u3f03f0wjhbzyo4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140413062047-z833pejjrtuhfygs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140414055948-intynzk8l823ukei

10 years ago[FIX] mail.thread: avoid overwriting thread_id/model with foreign values when reply...
Olivier Dony [Fri, 11 Apr 2014 14:24:29 +0000 (16:24 +0200)]
[FIX] mail.thread: avoid overwriting thread_id/model with foreign values when reply-to hostname does not match + fix tests

This improve previous commit by making sure we
never consider the thread_id/model values in the
In-Reply-To/References header if the host name
did not match.
Also fixes the tests that were using the
6.1 compatibility mode to post in a mail group
thread instead of specifying the right
message-id.

bzr revid: odo@openerp.com-20140411142429-y0rpkzqbrsabxqsg

10 years ago[FIX] 500 error on connection when using PyWebDAV 0.9.4
Denis Ledoux [Fri, 11 Apr 2014 13:42:03 +0000 (15:42 +0200)]
[FIX] 500 error on connection when using PyWebDAV 0.9.4
(and maybe others)

Courtesy of Holger Brunn (Therp)

bzr revid: dle@openerp.com-20140411134203-lxt4mnquiiclv6w3

10 years ago[FIX] mail.thread: avoid wrongly matching model,id from a foreign OpenERP system
Olivier Dony [Fri, 11 Apr 2014 10:13:49 +0000 (12:13 +0200)]
[FIX] mail.thread: avoid wrongly matching model,id from a foreign OpenERP system

When emails transit from an OpenERP system to another
there is a chance of wrongly considering the foreign
model,id pair as local, possibly attaching a reply
to a wrong parent message.
This naive heuristic ignore the foreign identifiers
unless the hostname of the message-id mentioned in
the In-Reply-To header matches the local one.
This may fail after a change of local hostname but
is still better than the alternative.
In OpenERP v8 we should stop including the model,res_id
in outgoing Message-Id headers and only rely on the
stored, opaque, unique Message-Ids, preventing
any future mismatch.

bzr revid: odo@openerp.com-20140411101349-h3jmkdzvbr7lut26

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 11 Apr 2014 05:59:30 +0000 (05:59 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140411055930-7coykr7rveqsucp3

10 years ago[MERGE] [FIX] account_budget: fix the computation of theorical amount field (opw...
Martin Trigaux [Thu, 10 Apr 2014 15:17:17 +0000 (17:17 +0200)]
[MERGE] [FIX] account_budget: fix the computation of theorical amount field (opw 606232)

The amount should use number of days +1
eg: budget from 2014-04-01 to 2014-04-11, today is 2014-04-10, should be 10/11*amount instead of 9/10*amount

bzr revid: mat@openerp.com-20140410151717-gzoucjmshb2y2j6i

10 years ago[FIX] setup: allow using pywebdav 0.9.4.1 (and possible future patches), we only...
Olivier Dony [Thu, 10 Apr 2014 14:02:44 +0000 (16:02 +0200)]
[FIX] setup: allow using pywebdav 0.9.4.1 (and possible future patches), we only want to stay below 0.9.8

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

bzr revid: odo@openerp.com-20140410140244-wu2l4hb5o1ct7tmm

10 years ago[FIX] account: Chart Installer: new way to get apps server
Christophe Simonis [Thu, 10 Apr 2014 10:00:27 +0000 (12:00 +0200)]
[FIX] account: Chart Installer: new way to get apps server

bzr revid: chs@openerp.com-20140410100027-5ug4801pfch9virt

10 years ago[FIX] modules: install_from_urls: restrict to administrators. Urls must come from...
Christophe Simonis [Thu, 10 Apr 2014 09:58:17 +0000 (11:58 +0200)]
[FIX] modules: install_from_urls: restrict to administrators. Urls must come from apps server.
[FIX] modules: download() method is now a no-op. This method was in fact already a no-op as the "url" field is never set explicitly in the code.

bzr revid: chs@openerp.com-20140410095817-bkni63g346wneybb

10 years ago[FIX] account_voucher & account_move_line: while we have partial payment and we cance...
Amit Dodiya [Thu, 10 Apr 2014 09:51:32 +0000 (15:21 +0530)]
[FIX] account_voucher & account_move_line: while we have partial payment and we cancel one payment it also unlink the reconcile/partial reconcile tag from other payment entries also

bzr revid: ado@tinyerp.com-20140410095132-wx29csixtxsf6gdv

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 10 Apr 2014 06:46:50 +0000 (06:46 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140410064650-qqd9g5dsaf5dqm52

10 years ago[FIX] pad: render_value binded on change effective_readonly event, so render value...
Denis Ledoux [Wed, 9 Apr 2014 16:29:32 +0000 (18:29 +0200)]
[FIX] pad: render_value binded on change effective_readonly event, so render value calls wait for each others

Proper fix than 9968 revid:dle@openerp.com-20140409160214-1anxi8z07xj49vsp

bzr revid: dle@openerp.com-20140409162932-y5fxd5wbojing2t2

10 years ago[FIX] pad: render_value binded on change effective_readonly event, so render value...
Denis Ledoux [Wed, 9 Apr 2014 16:02:14 +0000 (18:02 +0200)]
[FIX] pad: render_value binded on change effective_readonly event, so render value calls wait for each others

bzr revid: dle@openerp.com-20140409160214-1anxi8z07xj49vsp

10 years ago[FIX] Allow missing opcodes, harden check for private attributes (dunder), check...
Kersten Jeremy [Wed, 9 Apr 2014 15:16:59 +0000 (17:16 +0200)]
[FIX] Allow missing opcodes, harden check for private attributes (dunder), check inside embedded code objects.

bzr revid: jke@openerp.com-20140409151659-xwttchbtbj02v1w7

10 years ago[FIX] expression: when evaluatoing *like operator, add cast to text to column in...
jba [Wed, 9 Apr 2014 14:43:46 +0000 (16:43 +0200)]
[FIX] expression: when evaluatoing *like operator, add cast to text to column in case of different type

bzr revid: mat@openerp.com-20140409144346-nbn0dno3bs6ozwk5

10 years ago[FIX] analytic_user_function: add missing _rec_name
Martin Trigaux [Wed, 9 Apr 2014 14:29:17 +0000 (16:29 +0200)]
[FIX] analytic_user_function: add missing _rec_name

bzr revid: mat@openerp.com-20140409142917-ueqzyblgh3iwblc0

10 years ago[FIX] pad: pad in readonly when opening form view in edit mode - opw 606208
Anael Closson [Wed, 9 Apr 2014 11:48:25 +0000 (13:48 +0200)]
[FIX] pad: pad in readonly when opening form view in edit mode - opw 606208

bzr revid: acl@openerp.com-20140409114825-t10ps6o7qn7qbd7y

10 years ago[FIX] account_asset: copy should not keep history and move lines of previous asset
Martin Trigaux [Wed, 9 Apr 2014 10:06:58 +0000 (12:06 +0200)]
[FIX] account_asset: copy should not keep history and move lines of previous asset

bzr revid: mat@openerp.com-20140409100658-1oj741aw5sne8dtr

10 years ago[FIX] web: impossible to click on attach button, for many2many_binary
Denis Ledoux [Wed, 9 Apr 2014 09:34:22 +0000 (11:34 +0200)]
[FIX] web: impossible to click on attach button, for many2many_binary

This fix is related to revision 4169 revid:mat@openerp.com-20140407120612-mjb08yts2oa4k4jz

bzr revid: dle@openerp.com-20140409093422-imrg2hqozf46kj8d

10 years ago[FIX] account_budget: Added missing 1 day in the(to the elapsed days and total days...
Ravi Gohil (OpenERP) [Wed, 9 Apr 2014 08:53:32 +0000 (14:23 +0530)]
[FIX] account_budget: Added missing 1 day in the(to the elapsed days and total days) calculation of 'Theoretical Amount' in order to have correct amount value for it. (Maintenance Case: 606232)

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

bzr revid: rgo@tinyerp.com-20140409085332-ul2rq25pkivtyzja

10 years ago[FIX] setup.py: pywebdav 0.9.8 breaks the API by renaming the DAV module
Olivier Dony [Wed, 9 Apr 2014 08:13:49 +0000 (10:13 +0200)]
[FIX] setup.py: pywebdav 0.9.8 breaks the API by renaming the DAV module

bzr revid: odo@openerp.com-20140409081349-53jbd1k9vfp0uzom

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 9 Apr 2014 07:06:27 +0000 (07:06 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140409070627-o5ns6nniq2dc1lme

10 years ago[MERGE][FIX] sale: sale order report, pto in invoice template should not cover the...
Denis Ledoux [Tue, 8 Apr 2014 19:39:10 +0000 (21:39 +0200)]
[MERGE][FIX] sale: sale order report, pto in invoice template should not cover the whole document

Courtesy of Stefan Rijnhart (Therp)

bzr revid: dle@openerp.com-20140408193910-2vztatyowndyasj9

10 years ago[FIX] account_invoice: print invoice report, pto missplaced around the whole report...
Denis Ledoux [Tue, 8 Apr 2014 14:14:13 +0000 (16:14 +0200)]
[FIX] account_invoice: print invoice report, pto missplaced around the whole report instead of just the invoice lines

bzr revid: dle@openerp.com-20140408141413-xqotylt1wlgktgpx

10 years ago[IMP] web: select input on add record in list editable
Denis Ledoux [Tue, 8 Apr 2014 12:01:41 +0000 (14:01 +0200)]
[IMP] web: select input on add record in list editable

bzr revid: dle@openerp.com-20140408120141-f1fx2e9e8vqatccx

10 years ago[FIX] account_budget: Added missing 1 day in the(to the elapsed days and total days...
Ravi Gohil (OpenERP) [Tue, 8 Apr 2014 07:34:52 +0000 (13:04 +0530)]
[FIX] account_budget: Added missing 1 day in the(to the elapsed days and total days) calculation of 'Theoretical Amount' in order to have correct amount value for it. (Maintenance Case: 606232)

bzr revid: rgo@tinyerp.com-20140408073452-28jfel5fp039s07e

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 8 Apr 2014 07:07:58 +0000 (07:07 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140408070758-jpj1hkcbia6f8630

10 years ago[MERGE] [FIX] upload widget: avoid overflow making impossible to click on other butto...
Martin Trigaux [Mon, 7 Apr 2014 12:06:12 +0000 (14:06 +0200)]
[MERGE] [FIX] upload widget: avoid overflow making impossible to click on other buttons than the first one (opw 603125)

bzr revid: mat@openerp.com-20140407120612-mjb08yts2oa4k4jz

10 years ago[FIX] browse()/browse_record: use iterables instead of forcing lists when constructin...
Olivier Dony [Mon, 7 Apr 2014 10:57:40 +0000 (12:57 +0200)]
[FIX] browse()/browse_record: use iterables instead of forcing lists when constructing browse_lists

This allows iterable list_class implementations

bzr revid: odo@openerp.com-20140407105740-elbz311w5u9e8eos