Merge lp:~openerp-dev/openobject-addons/7.0-opw-593169-msh into lp:openobject-addons/7.0

Proposed by Mohammed Shekha(Open ERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-593169-msh
Merge into: lp:openobject-addons/7.0
Diff against target: 16 lines (+5/-1)
1 file modified
purchase_requisition/purchase_requisition.py (+5/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-593169-msh
Reviewer Review Type Date Requested Status
Mohammed Shekha(Open ERP) (community) Needs Resubmitting
Naresh(OpenERP) (community) Needs Fixing
Martin Trigaux (OpenERP) Pending
Review via email: mp+166498@code.launchpad.net

Description of the change

Hello,

Fixed the issue of purchase requisition which gives traceback someone coverts purchase requisition to quotation without selecting warehouse.

Demo:- Install purchase requisition module and create purchase requisition without adding warehouse_id(warehouse field which is not mandatory), and then try to convert it into quotation.

Result: traceback
Expected: Should be converted to quatation with default input location.

Thanks.

To post a comment you must log in.
9182. By Olivier Dony (Odoo)

[FIX] portal_hr_employee: force inherit_id to False to avoid errors during migrations

The view has been converted to a first-class view
but was an inherited view before, so existing
database will exhibit issues when updating unless
the inherit_id field is forced to NULL.

Also fixed a minor typo.

9183. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9184. By Olivier Dony (Odoo)

[MERGE] project: wrong FK used in implementation of project.search(), courtesy of Nicolas Bessi (Camptocamp)

9185. By Quentin (OpenERP) <email address hidden>

[FIX] hr: display the employee instead of the user in the calendar view

9186. By Quentin (OpenERP) <email address hidden>

[FIX] account, usability: restrict the choice of the account to the ones with type 'other' for income and expense account of product and invoice line

9187. By Quentin (OpenERP) <email address hidden>

[FIX] sale_margin: when sharing a SO with a customer, don't show the margin

9188. By Quentin (OpenERP) <email address hidden>

[FIX] crm: after a merge of several leads/opportunities, delete the old records as the SUPERUSER to avoid security issues.

9189. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9190. By Olivier Dony (Odoo)

[MERGE] l10n_lu: update financial report labels to match latest eCDF values, courtesy of Stéphane Bidoul (Acsone)

9191. By Olivier Dony (Odoo)

[MERGE] l10n_ca: fix some tax definitions + updated fiscal position names, courtesy of Jonatan Cloutier (Savoir-Faire Linux)

9192. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9193. By Martin Trigaux (OpenERP)

[MERGE] [FIX] correct path for printing webkit reports on windows server, courtesy of Olivier Laurent (Acsone)

9194. By Martin Trigaux (OpenERP)

[MERGE] [FIX] sale_crm: add payment_term to sale order

9195. By Martin Trigaux (OpenERP)

[MERGE] base_import: better FAQ

9196. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9197. By Martin Trigaux (OpenERP)

[FIX] account: don't display non-commercial partners for bank statement

9198. By Quentin (OpenERP) <email address hidden>

[FIX] stock: fixed error in stock valuation entries

9199. By Olivier Dony (Odoo)

[MERGE] l10n_lu: update account labels to match latest eCDF values + improve mapping with financial reports (bs, p&l), courtesy of Stéphane Bidoul (Acsone)

9200. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9201. By Martin Trigaux (OpenERP)

[FIX] account: correct journal report with tax_code

9202. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9203. By Martin Trigaux (OpenERP)

[FIX] account: correct API call for product_id_change

uom -> uom_id to be consistent with the args of the one from account_invoice.py

9204. By Martin Trigaux (OpenERP)

[IMP] product: specify max size for product lable with long name

9205. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: decimal precision wrong when invoice a purchaseorder with invoicing Based on incoming shipments

9206. By Denis Ledoux (OpenERP)

[FIX]auth_oauth: controller signin fallback to ?db=dbname if xml_id missing (thus, include case where auth_oauth is not installed)

9207. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account_payment: structured reference type is not reflected when importing from invoice, courtesy of Niels Huylebroeck (Agaplan)

9208. By Olivier Dony (Odoo)

[MERGE] OPW 592349: account_asset: show asset category on supplier invoice lines too, not only customer invoices

9209. By Christophe Matthieu (OpenERP)

[IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)

9210. By Olivier Dony (Odoo)

[MERGE] [I18N] Many translation bugfixes + resync of translation templates with latest source

9211. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9212. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9213. By Christophe Simonis (OpenERP)

[FIX] base_report_designer: allow connection via XML-RPC over SSL (XML-RPC-Secure)

9214. By Olivier Dony (Odoo)

[FIX] procurement: typo/wording in product procurement wizard

Makes it slightly easier to understand and translate

9215. By Martin Trigaux (OpenERP)

[FIX] account: restrict bank account post creation for account and journal

Do not create account and journal when there no liquidity account with a parent.
This removes a traceback but may lead to no auto configuration. This is not considered as critical as we prefer that instead of configuring wrongly accounts and journals

9216. By Martin Trigaux (OpenERP)

[MERGE] stock: Chained location: cancelling receptions set chained moves as confirmed

9217. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: while running the product to process wizard on done state move gives trace-back

9218. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9219. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: prevent creating new product line when returning products

9220. By Martin Trigaux (OpenERP)

[FIX] survey: add page_id when using wizard

9221. By Denis Ledoux (OpenERP)

[FIX]mail: mail_thread, method message_capable_models was not returning all message capable models

9222. By Martin Trigaux (OpenERP)

[MERGE] various changes

[FIX] account: field supplier invoice number should be set in journal entry as description
[FIX] hr_holidays: allow grouping by start date
[IMP] report_webkit: avoid using same src value for two different values with fallback

9223. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9224. By Martin Trigaux (OpenERP)

[IMP] l10n_be_coda: remove creation of bank statement line, remove broken domain, show statement field, fix indentation

9225. By Martin Trigaux (OpenERP)

[IMP] portal_hr_employee: remove create button on kanban view

9226. By Olivier Dony (Odoo)

[MERGE] project: do not copy project tasks when duplicating partners, courtesy of Yannick Vaucher (Camptocamp)

9227. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account: allow usage of list of account typesfor invoices creation

9228. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] Usability fix for purchase/product
Set the field property_product_pricelist_purchase in the group_purchase_pricelist

9229. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9230. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] mail: message_subscribe_users: refactoring of the algorithm to achieve better computation time.
Previous implementation did a search on mail.followers with subtype_ids=False, leading
to a very bad computation time. This search is now avoided.

9231. By Martin Trigaux (OpenERP)

[MERGE] [FIX] hr_timesheet_sheet, account_followup: remove create access rights on reports and hide create button from views

9232. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account: better check of context when writing account.move.line

9233. By Martin Trigaux (OpenERP)

[MERGE] [FIX] warning: correct form id for warning tabs in products

9234. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account: don't display fields from analytic accounting after removal

9235. By Martin Trigaux (OpenERP)

[MERGE] [FIX] hr_timesheet_sheet: compute amount field for timesheets

9236. By Martin Trigaux (OpenERP)

[MERGE] [FIX] sale_stock: compute packaging values after slecting right UoM

9237. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9238. By Martin Trigaux (OpenERP)

[MERGE] [FIX] project_crm: sale_order_id does not appear in the correct location on project.task

9239. By Martin Trigaux (OpenERP)

[MERGE] [IMP] stock: filter incomming shipments and delivery orders on supplier and customer field

9240. By Olivier Dony (Odoo)

[MERGE] OPW 590139: account reports: several missing translation markers

The calls to _translate() do not actually work
in the Python helpers for the reports, unless the
terms are actually found in RML report source
(so translations of the right type exist).
Of course adding the terms in the RML directly
makes those helper methods redundant, so
they can now be removed in trunk.
Kept them in stable for API compatibility
only, they should work for existing reports.

9241. By Olivier Dony (Odoo)

[I18N] account: updated PO template for new term introduced by previous revision

9242. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9243. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9244. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9245. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9246. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9247. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9248. By Martin Trigaux (OpenERP)

[FIX] account_analytic_plans: allow grouping by analytic_id

9249. By Martin Trigaux (OpenERP)

[MERGE] [IMP] crm: log phone calls as in held state

9250. By Martin Trigaux (OpenERP)

[MERGE] [FIX] base_calendar: add missing keys for private events in read

9251. By Martin Trigaux (OpenERP)

[MERGE] [FIX] l10n_be_coda: check existance of line 8 in coda file, courtesy of Peter Langenberg (Agaplan)

9252. By Martin Trigaux (OpenERP)

[MERGE] [FIX] l10n_be_coda: ensure record rules are applied on res.partner.bank

9253. By Martin Trigaux (OpenERP)

[MERGE] [FIX] l10n_ro: remove duplicate label

9254. By Martin Trigaux (OpenERP)

[MERGE] [FIX] document_page: prevent modifing write_uid field

9255. By Martin Trigaux (OpenERP)

[MERGE] [FIX] pos: prevent two users opening the same session

9256. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9257. By Thibault Delavallée (OpenERP)

[FIX] mail: fixed a glitch in message_subscribe sometimes overriding specified subtypes

9258. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] Various improvements in quick create in kanban view.

- [FIX] crm: fixed crash when searching leads/opportunities on section_id then trying to create a new lead/opportunity. The crash was due to a 'default_section_id: self' in the search_view, that is not supported in 7.0.
- [FIX] crm, task, issue, hr_applicant: fixed quick create in kanban view not taking into account the stage in which it is being created.
- [FIX] mail: when tracking modified values for automatic subscription, also take into account default values coming from the context
- [FIX] issue: added default responsible

9259. By Martin Trigaux (OpenERP)

[MERGE] [FIX] idea: remove filter on many2many field

9260. By Martin Trigaux (OpenERP)

[MERGE] [IMP] l10n_ca: Replaced french leftover tax names in l10n_ca's account_tax_en.xml.

Replaced TVH by HST and TVQ by QST
courtesy of Virgil Dupras

9261. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9262. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9263. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9264. By Xavier ALT

[MERGE] [FIX] l10n_be_invoice_bba: correctly create bba reference when creating an invoice

  When creating an invoice from another object (sale: invoice from sale order
  line, sale: invoice on delivery order, ...) we have to make sure that newly
  created invoice respect partner's default ``communication type``, and
  accordingly generate a new BBA if required and none provided.

9265. By Martin Trigaux (OpenERP)

[MERGE] [FIX] OPW 590066 account: remove accounting information lines from Journal items

9266. By Denis Ledoux (OpenERP)

[FIX]account: fix of sxw of account_print_invoice, which was using o.address_invoice_id.partner_id instead of o.partner_id

9267. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9268. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9269. By Martin Trigaux (OpenERP)

[FIX] point_of_sale: don't group move lines if debit and credit

9270. By Thibault Delavallée (OpenERP)

[FIX] project: removed old code that was messing with followers intorduced at revision 8435.

9271. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9272. By Martin Trigaux (OpenERP)

[MERGE] [FIX] l10n_ch: reStructuredText in description file, courtesy of Yannick Vaucher (Camptocamp)

9273. By Martin Trigaux (OpenERP)

[MERGE] [FIX] hr_timesheet_invoice: use invoice amount instead of product and product not mandatory

9274. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9275. By Christophe Simonis (OpenERP)

[FIX] crm: copy() of partners must return id of new partner

9276. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9277. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9278. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9279. By Martin Trigaux (OpenERP)

[FIX] hr_expense: fallback on domain if no analytic_account for line_ids

9280. By Olivier Dony (Odoo)

[FIX] procurement: background procurement scheduler should be working in batch mode, with one transaction per order

A programming error during an older refactoring lead to
the scheduler working with a single monolithic transaction.
This could cause unnecessary resource contention, plus
undesired rollback of all previous operations in the event
of an exception during scheduling.

9281. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9282. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9283. By Xavier (Open ERP)

[FIX] call this.print on end of ReceiptScreenWidget.show instead of explicit window.print

print method already existed, probably to allow overriding printing, but it was not actually called

9284. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9285. By Olivier Dony (Odoo)

[MERGE] l10n_pl: updated tax rates and tax definitions, courtesy of Tymoteusz Motylewski

9286. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9287. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9288. By van der Essen Frédéric (OpenERP)

[MERGE] point_of_sale: fixing bugs discovered during the opendays

9289. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9290. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9291. By Martin Trigaux (OpenERP)

[FIX] account_voucher: while canceling avoid removing twice the same reconciled move

9292. By Quentin (OpenERP) <email address hidden>

[FIX] project: defined the write_date field in project.task so that it can be reused in date filters in base_action_rule module

9293. By Quentin (OpenERP) <email address hidden>

[FIX] account_anglo_saxon: backport of revision 8787 of trunk

9294. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9295. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9296. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9297. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9298. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9299. By Denis Ledoux (OpenERP)

[FIX]email_template: generate_email_for_composer, clean context before find or create partner, to avoid default values for partner

9300. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9301. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9302. By Christophe Simonis (OpenERP)

[FIX] base_report_designer: correct "Export To RML" on OSX

9303. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9304. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9305. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9306. By Martin Trigaux (OpenERP)

[FIX] document: apply security rules documented on doc/access_permissions.rst. (opw #592652)

9307. By Martin Trigaux (OpenERP)

[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

9308. By Martin Trigaux (OpenERP)

[MERGE] [IMP] report_webkit: better installation message for wkhtmltopdf, courtesy of Yannick Vaucher (Camptocamp)

9309. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9310. By Martin Trigaux (OpenERP)

[FIX] account_voucher: writeoff amount on unreconciled amount instead of price to allow negative writeoff (eg: negative currency change rate difference) (opw #593977)

9311. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9312. By Martin Trigaux (OpenERP)

[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

9313. By Martin Trigaux (OpenERP)

[FIX] hr_timesheet_invoice: use product price on invoice even when not forcing

9314. By Martin Trigaux (OpenERP)

[FIX] account_invoice: due date is reset to current date when we have no payment term and due date is manually defined

9315. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9316. By Martin Trigaux (OpenERP)

[FIX] project_issue: reset kanban_state when changing the stage to be consistent with project_task

9317. By Martin Trigaux (OpenERP)

[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

9318. By Martin Trigaux (OpenERP)

[FIX] stock: for a stock picking set date start and end date based on expected (date_exected) instead of creation date (date)

9319. By Martin Trigaux (OpenERP)

[IMP] mrp: properly remove product lines and workorder lines when confirming a manufacturing order, avoid getting traceback if trying action on deleted record

9320. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9321. By Thibault Delavallée (OpenERP)

[FIX] mail: res was not created if there are no email in email_list when sending emails

9322. By Martin Trigaux (OpenERP)

[MERGE] various changes
report_webkit: show labels on form view
account: correctly choose fiscal year on aged partner balance report

9323. By Martin Trigaux (OpenERP)

[FIX] l10n_be: Intracom VAT Declaration, fix amount precision, courtesy of Peter Langenberg

9324. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9325. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9326. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9327. By Martin Trigaux (OpenERP)

[FIX] sale_crm: allow modifying the default sale's team on user preferences

9328. By Martin Trigaux (OpenERP)

[IMP] stock: don't raise error on default values if removed default stock locations data

9329. By Martin Trigaux (OpenERP)

[FIX] stock: remove warning popup on update product quantity wizard and correctly verify access rights on stock.location

9330. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9331. By Martin Trigaux (OpenERP)

[FIX] base_calendar: don't compute reccuring events if reccurency checkbox is disabled

9332. By Olivier Dony (Odoo)

[FIX] account: paypal url generation should not crash for draft invoices that have no number yet

9333. By Martin Trigaux (OpenERP)

[FIX] mrp: don't see produce button if don't have necessary quantity

9334. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9335. By Martin Trigaux (OpenERP)

[IMP] stock: more fault tolerant usage of xml id

9336. By Denis Ledoux (OpenERP)

[FIX]auth_ldap: now using check_credentials instead of check

9337. By Denis Ledoux (OpenERP)

[FIX]auth_ldap: remove base_crypt warning from manifest

9338. By Denis Ledoux (OpenERP)

[FIX]stock: wizard stock change qty, object_reference return an integer and not a browse record

9339. By Denis Ledoux (OpenERP)

[FIX]auth_crypt: check_credentials checking if there is a password stored, if not, not trying to crypt anything and raise

9340. By Denis Ledoux (OpenERP)

[FIX]auth_crypt: was storing password when passsing by res.users create, like auth_signup

9341. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9342. By Martin Trigaux (OpenERP)

[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

9343. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9344. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9345. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9346. By Martin Trigaux (OpenERP)

[FIX] account: use dateformat instead of datetime for date objects

9347. By Martin Trigaux (OpenERP)

[FIX] l10n_be_invoice_bba: add copy method to invoice to generate a new bba comunication when duplicating, courtesy of Peter Langenberg (Agaplan)

9348. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9349. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9350. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9351. By Martin Trigaux (OpenERP)

[FIX] board: keep group by in context when adding to dashboard

9352. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9353. By Martin Trigaux (OpenERP)

[FIX] l10n_be: use float instead of string for amount in vat_intra reports

9354. By Denis Ledoux (OpenERP)

[FIX]auth_oauth: auth_oauth handle oauth error 3, auth_oauth_signup raise accessdenied instead of signuperror, auth_signup use literal_eval instead of safe_eval

9355. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9356. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9357. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9358. By Martin Trigaux (OpenERP)

[FIX] account: pass context to move line reconciliation creation (opw #594546)

9359. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9360. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9361. By Martin Trigaux (OpenERP)

[MERGE] l10n_be: add translation of belgian chart of accounts in Flemish

requires merge 5049 in server 7.0 (support of i18n_extra folder)
requires l10n_multilang preinstalled before l10n_be (to add translatable fields)
move l10n_be_wizard.yml to l10n_be_hr_payroll_account (requires an accounting plan installed to import data)
set action wizard for multichart selection opened
add translation of chart of account into nl_BE, courtesy of Geert Janssens
point_of_sale: fix default journal selection for config (broken runbot test)

9362. By Olivier Dony (Odoo)

[FIX] account_report_company: avoid including the address in the computed display name

9363. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9364. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9365. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9366. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9367. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9368. By Olivier Dony (Odoo)

[FIX] account,hr_timesheet_sheet: fix YML assertRaise-like testcases that did not verify the result, courtesy of Laetitia Gangloff (Acsone)

9369. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9370. By Martin Trigaux (OpenERP)

[FIX] sale: correct report for discount column (opw #592874)

9371. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: use reload_on_button option in forms for reloading the form that has been modified

9372. By Martin Trigaux (OpenERP)

[FIX] account_voucher: generate empty context to avoid traceback

9373. By Martin Trigaux (OpenERP)

[FIX] point_of_sale: avoid traceback if deleted property

9374. By Martin Trigaux (OpenERP)

[MERGE] various changes
analytic_user_function: fix traceback with non-existant variable
lunch: name_get and remove create button on you lunch account view
mail: being more permissive on check to also allow creating message when have create access rights on model

9375. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9376. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9377. By Martin Trigaux (OpenERP)

[IMP] mrp: allow searching by components, better view for BoM structure

9378. By Martin Trigaux (OpenERP)

[MERGE] backport of revision 8862
mrp, sale_stock: minor usability improvements + properties in sale order lines

9379. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] mail: fixed wrong parsing of multipart/mixed emails. Alternative mode is computed when browsing the parts, not from the message content type.

Added tests.

Also added some notification_email_send=none in mail demo data to avoid sending emails in demo/data/update.

9380. By Christophe Simonis (OpenERP)

[MERGE] project: migrate to aliases

9381. By Martin Trigaux (OpenERP)

[FIX] mrp, stock: permissions error on multicompany + add tests, courtesy of Camptocamp

9382. By Christophe Simonis (OpenERP)

[FIX] stock: allow modification of stock.picking.{in,out} reports via report designer

9383. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9384. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9385. By Martin Trigaux (OpenERP)

[FIX] mrp: display Bill of Materials as a list, not as a tree

9386. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9387. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account: handle value errors for inexisting object references for account reports

9388. By Olivier Dony (Odoo)

[FIX] Force safer ondelete=restrict on the `alias_id` _inherits FK on models with a mail.alias parent

The delete-rule was initially set to `cascade` in revision
6897.16.13 revid:<email address hidden>
because the ORM would not allow anything else for the FK of
an _inherits relationship.
This constraint was later lifted in 7.0 server at revision
4681 revid:<email address hidden>
so we can now switch to the intended default behavior:
when deleting mail aliases we never want to cascade delete
the child records, as that could lead to unwanted deletions.
On the other hand the aliases are automatically deleted when
the record they belong to is deleted, as a kind of internal
dependency. This is the intended safe way to delete them.

There is a special case when the same alias is manually set
on multiple records, in which case you will not be able to
delete any of those records. This is an acceptable exception
and should be manually handled if ever needed, by temporarily
linking the records to delete to new dummy aliases.

9389. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9390. By Martin Trigaux (OpenERP)

[FIX] pos: avoid a user to use another user's session (opw 595033)

9391. By Thibault Delavallée (OpenERP)

[FIX] crm: fixed a bug in opportunities merge.

_merge_notify was called with a browse record but was waiting for an ID.

9392. By Martin Trigaux (OpenERP)

[FIX] stock,mrp: move multicomp user to test instead of demo data

9393. By Martin Trigaux (OpenERP)

[FIX] pos: correctly link refund order to a current session and set to today's date (opw 589810)

9394. By Martin Trigaux (OpenERP)

[FIX] project: correct name_search for analytic accounts, use args, name, limit and context

9395. By Martin Trigaux (OpenERP)

[FIX] stock: post messages on stock.pciking instead of stock.picking.in/out to be able to display messages on the form

This will only display newly posted messages, not already existing.
To do so apply the following SQL command:
UPDATE mail_message SET model = 'stock.picking' WHERE model = 'stock.picking.in' OR model = 'stock.picking.out';

9396. By Denis Ledoux (OpenERP)

[FIX]account: in wizard of refund, replace type(line.reconcile_id) != osv.orm.browse_null with simply if line.reconcile_id: + imp of the following line

9397. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9398. By Olivier Dony (Odoo)

[FIX] purchase: res.partner.copy() must properly return the super() call's result

9399. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9400. By Denis Ledoux (OpenERP)

[FIX]delivery: sxw report did not match the rml report

9401. By Denis Ledoux (OpenERP)

[FIX]mrp: _bom_explode, rounding used must be max(bom.product_rounding, bom.product_uom.rounding), in order to avoid asking 0.5 Unit

9402. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9403. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9404. By Martin Trigaux (OpenERP)

[FIX] membership: set priority on search view to avoid getting it for other modules

9405. By Martin Trigaux (OpenERP)

[FIX] base_calendar: avoid duplication of event on invitation acceptance (opw 586763)

9406. By Denis Ledoux (OpenERP)

[FIX]account: field partner_id, define store param to handle updates of partner changes in entries

9407. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9408. By Martin Trigaux (OpenERP)

[MERGE] various changes

account: move button on analytic chart wizard to bottom
account: use button Target Moves in financial report views (bug lp:1078146)
project: set duplicated task in default stage instead of current

9409. By Martin Trigaux (OpenERP)

[FIX] account: order on invoice lines based on sequence number (for complains, please refer to dle)

9410. By Martin Trigaux (OpenERP)

[IMP] account: set default value on account invoice line and fallback on id for ordering if no sequence is available

9411. By Olivier Dony (Odoo)

[FIX] hr_expense: duplicate copy() method corrected, courtesy of Yannick Vaucher, Camptocamp

9412. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9413. By Christophe Simonis (OpenERP)

[FIX] project_mrp: correct process to not depends of indirect installation of sale_stock

9414. By Martin Trigaux (OpenERP)

[FIX] point_of_sale: pass reference of customer from pos to order

9415. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9416. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9417. By Martin Trigaux (OpenERP)

[FIX] l10n_be: VAT reports needs to have explicitly two digits, rounded values not accepted (sigh)

9418. By Olivier Dony (Odoo)

[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`.

9419. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9420. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9421. By Martin Trigaux (OpenERP)

[FIX] stock: overwrite message_{un,}subscribe on stock.picking.{in,out}

9422. By Martin Trigaux (OpenERP)

[FIX] stock: change wrong variable name

9423. By Martin Trigaux (OpenERP)

[IMP] account: don't write state as draft on lines that are already in draft state (performace improvement)

9424. By Martin Trigaux (OpenERP)

[FIX] product: pass count argument to super call for search (opw #585031)

9425. By Denis Ledoux (OpenERP)

[FIX]l10n_be_coda: wizard coda import, search period that belong to the company of the journal

9426. By van der Essen Frédéric (OpenERP)

[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

9427. By Christophe Simonis (OpenERP)

[FIX] point_of_sale: ensure proxy connection have a session_id (opw 596899)

9428. By Denis Ledoux (OpenERP)

[FIX]base_calender: pop default_state from context before creating attendees (context propagation problem)

9429. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9430. By Martin Trigaux (OpenERP)

[FIX] stock: correctly select sequence for internal moves (opw 591894)

9431. By Martin Trigaux (OpenERP)

[FIX] stock: Correctly pass referece for chained location on stock.picking (opw 593003)

9432. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9433. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9434. By Thibault Delavallée (OpenERP)

[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.

9435. By Martin Trigaux (OpenERP)

[FIX] point_of_sale: correct _get_tax_amount to see several taxes in reports

9436. By van der Essen Frédéric (OpenERP)

[IMP] point_of_sale: make products searchable by internal reference (default_code)

9437. By van der Essen Frédéric (OpenERP)

[FIX] point_of_sale: onscreen keyboard would stop working when category changed + make it disappear outside product screen

9438. By van der Essen Frédéric (OpenERP)

[FIX] point_of_sale: fixed text overflow issues due to long product names

9439. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9440. By Thibault Delavallée (OpenERP)

[FIX] account: fixed an error when using custom chart of accounts, could lead to no result in search in ir model data

9441. By van der Essen Frédéric (OpenERP)

[FIX] sale.shop: The pricelist should be a required field

9442. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9443. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9444. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9445. By Martin Trigaux (OpenERP)

[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

9446. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mrp_subproduct: correctly take into account subproduct_factor when checking quantities on BoM

9447. By Martin Trigaux (OpenERP)

[FIX] hr_timesheet_sheet: use timezone in hour computation for timesheet

9448. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9449. By Martin Trigaux (OpenERP)

[FIX] stock: decimal precision of new_price field on update cost price wizard is not same as defined in cost_price field

9450. By Martin Trigaux (OpenERP)

[FIX] stock: use user's language as default value to fetch product translation

9451. By Martin Trigaux (OpenERP)

[MERGE] [FIX] base_calendar: Fix domain evaluation for calendar recursive and fix search method for recurrency date

9452. By Martin Trigaux (OpenERP)

[FIX] project_mrp: revert addition in commit 9445 breaking databases withtout mrp module

9453. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9454. By Olivier Dony (Odoo)

[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`.

9455. By Martin Trigaux (OpenERP)

[FIX] sale_crm: move code reverted at revision 9452 to the sale_crm module instead of project_mrp

9456. By van der Essen Frédéric (OpenERP)

[FIX] point_of_sale: currency should be fetched from the pricelist instead of the company

9457. By van der Essen Frédéric (OpenERP)

[IMP] point_of_sale: when the product search returns only one product, order it on 'enter' keypress

9458. By Martin Trigaux (OpenERP)

[IMP] account: performance improvement on the creation of new account.move (opw #597719)

9459. By van der Essen Frédéric (OpenERP)

[FIX] point_of_sale: barcode scanner was not working in firefox due to usage of event.keyCode instead of event.which

9460. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9461. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9462. By Martin Trigaux (OpenERP)

[FIX] account,purchase,stock: update report sxw to match latest rml

9463. By Martin Trigaux (OpenERP)

[FIX] account: allow ordering of lines on all invoices (opw#590277)

9464. By Martin Trigaux (OpenERP)

[IMP] stock: improve performances of _product_reserve by reducing the number of locations that are checked (opw#590466)

9465. By Martin Trigaux (OpenERP)

[FIX] survey: add missing translations

9466. By Martin Trigaux (OpenERP)

[IMP] account: remove wrong colspan on partner ledger wizard

9467. By Martin Trigaux (OpenERP)

[FIX] mrp_operations: change icon to start a work orders to be different than the one for scrap product (opw #591367)

9468. By Martin Trigaux (OpenERP)

[FIX] stock: show button check availibility on stock.picking instead of only stock.picking.out (was not present for internal moves) opw #591370

9469. By Martin Trigaux (OpenERP)

[FIX] project: allow deleting project members from kanban view instead of opening the user view (opw #590451)

9470. By Martin Trigaux (OpenERP)

[FIX] product: avoid getting date=False in pricelist if wrong value in context, courtesy of Alexis de Lattre

9471. By Martin Trigaux (OpenERP)

[FIX] sale: duplication of an existing sale order should change the date

9472. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9473. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9474. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9475. By Denis Ledoux (OpenERP)

[FIX]sale_crm: add context to categ_ids for sale order object. Its dummy to set 'crm.lead' for object_name in context while the current object is a 'sale.order', but its less dummy to copy crm.lead tags to sale.order tags while using the convert to quotation wizard

9476. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9477. By Martin Trigaux (OpenERP)

[FIX] mrp: don't select bom out of current date range, replace sql query by orm request

9478. By Denis Ledoux (OpenERP)

[FIX]portal_crm: add default_type in action, in order to select properly the stage and the section_id

9479. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9480. By Denis Ledoux (OpenERP)

[FIX]share: embed url action= instead of action_id=

9481. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9482. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9483. By Martin Trigaux (OpenERP)

[FIX] point_of_sale: return empty list instead of False for report computation (opw 598437)

9484. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9485. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9486. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9487. By Denis Ledoux (OpenERP)

[FIX]crm: wizard lead to opportunities, match exact email, insensitive

9488. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9489. By Denis Ledoux (OpenERP)

[FIX]portal: add share flag to portaltemplate user and portal demo user

9490. By Denis Ledoux (OpenERP)

[FIX]portal: previous commit was wrong. I was distracted. auth_signup do not depends on share, portal is, so moving the values['share'] = true to portal module

9491. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9492. By Martin Trigaux (OpenERP)

[FIX] point_of_sale: remove useless or condition in tax computation

9493. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9494. By Denis Ledoux (OpenERP)

[FIX]mail: backport of fix 8787 from saas-1 branch, rev-id: <email address hidden>

9495. By Olivier Dony (Odoo)

[MERGE] auth_signup: invitation mail - fallback to user email when company has no email

This avoids a confusing error message. The email
sender does not matter much in this case anyway.

9496. By Olivier Dony (Odoo)

[MERGE] hr_timesheet_invoice: make YML tests more robust wrt extra demo data, courtesy of Moisés López (Vauxoo)

9497. By Olivier Dony (Odoo)

[MERGE] l10n_br: addition of some IPI taxes, courtesy of Renato Lima (Akretion)

9498. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9499. By Olivier Dony (Odoo)

[MERGE] account: CoA installer: include parent charts when determining default taxes, otherwise they cannot be set during install

See comments on this MP for some background:
  https://code.launchpad.net/~pedro.baeza/openobject-addons/7.0-updated_l10n_es/+merge/161654

9500. By Olivier Dony (Odoo)

[MERGE] account_voucher, product, stock: use selection widgets for magic context fields, to pass IDs in the context instead of strings

Many2one fields resolve to strings when used
as `self` within the @context or @filter_domain
attributes of a search field, because they
must be able to support partial matches,
e.g. search for "Sto" to match "Stock".
In many case the code was not prepared to accept
string for the magic context values, so the
magic fields now caused crashes.

The widget="selection" attribute was dropped
during the search view cleanup for 7.0,
without noticing this unfortunate side-effect,
at revision:
  addons 7.0 revno 7142 revid:<email address hidden>

9501. By Olivier Dony (Odoo)

[MERGE] l10n_it: fix taxes, add new 22% IVA introduced on 2013-10-01, courtesy of Leonardo Pistone (Agile BG)

9502. By Martin Trigaux (OpenERP)

[MERGE] [FIX] purchase: avoid being spammed with workflow exceptions when don't have the required suppliers info

9503. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9504. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9505. By Martin Trigaux (OpenERP)

[MERGE] [FIX] purchase: block workflow when supplier check fails, even if already has set an error message

9506. By Martin Trigaux (OpenERP)

[FIX] sale: don't set mrp_properties by default for root user (adding sale order lines in a popup instead of editable mode)

9507. By Denis Ledoux (OpenERP)

[FIX]mail: update.py, using message_post instead of mail.message create, in order to notify users and the administrator

9508. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9509. By Denis Ledoux (OpenERP)

[FIX]mail: mail_thread, trying to send a message in the chatter while the emails where all mal-formed raised an error.

9510. By Martin Trigaux (OpenERP)

[FIX] account: revert commit 9265, show every invoice line in the list view and do not force domain on it to remove 0 debit/credit lines

9511. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9512. By Martin Trigaux (OpenERP)

[IMP] purchase: put back sql request to set exception message and avoid context hack

9513. By Christophe Simonis (OpenERP)

[FIX] note: copy default stages as SUPERUSER_ID to avoid access error. Only do it for employees

9514. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9515. By Olivier Dony (Odoo)

[MERGE] l10n_fr: update tax templates for 2014 taxes, courtesy of Frederic Clementi (Camptocamp)

summary of VAT rates changes for the 01/01/2014:
Taux normal : 20% replace 19.6%
Taux intermédaire : 10% replace 7%
Taux spécial DOM-TOM : no change (8.5%)
Taux réduit : 5% replace 5.5%
Taux super réduit : no change (2.1%)

see also: http://www.service-public.fr/professionnels-entreprises/actualites/00891.html

9516. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9517. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9518. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9519. By Martin Trigaux (OpenERP)

[FIX] pos: check constraint on session instead of uid (eg: runbot import demo data with uid=1 but other user_id

9520. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Mohammed,

The fix seems good, but needs a bit improvement in the code. Instead of checking twice for the warehouse we can do it in one go, something like this..

if requisition.warehouse_id:
   location_id = requisition.warehouse_id.lot_input_id.id
else:
    lot_input_stock = self.pool.get('ir.model.data').get_object(cr, uid, 'stock', 'stock_location_stock')
    location_id = lot_input_stock and lot_input_stock.id

Regards,
Naresh Soni,
OpenERP Enterprise Services

review: Needs Fixing
9521. By Martin Trigaux (OpenERP)

[FIX] stock: correctly handle case when we have no child location

9522. By Christophe Matthieu (OpenERP)

[FIX] product: wrong product and supplierinfo demo data. Because product_id of product.supplierinfo is a product.template field and not a product.product field

9523. By Martin Trigaux (OpenERP)

[FIX] account: include reconciled move lines generated at the opening of a new fiscal year (and indirectly take into account moves from previous fiscal years)

9524. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9525. By Thibault Delavallée (OpenERP)

[FIX] hr: fixed priorities of kanban views. Employees see the
kanban view defined for portal users because of priorities all equal to 16.
Now employees see the correct kanban view defined in HR, portal users see
the portal kanban view defined in portal_hr_employees.

9526. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9527. By Martin Trigaux (OpenERP)

[FIX] procurement: avoid getting loop of state change when a procurement is stuck in an exception and retried by the scheduler (opw 598606)

9528. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9529. By Martin Trigaux (OpenERP)

[FIX] mrp_repair: use action_done to validate a operation componenents when ending a repair
This allows to generate journal entries in case of real time stock evaluation (opw 599170)

9530. By Martin Trigaux (OpenERP)

[FIX] account: correct test on closing fiscal year to fail with error message and set the test to the previous year instead of next year (makes more sense)

9531. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9532. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9533. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9534. By Martin Trigaux (OpenERP)

[FIX] procurement: change SQL query to be compatible with both postgres 8.4 and 9.3

9535. By Olivier Dony (Odoo)

[FIX] l10n_fr: 2014 tax update patch has removed obsolete templates, causing an error at module update

Due to the relationship between fiscal position
templates and tax templates, the removal of
obsolete tax templates may crash if the corresponding
fiscal positions are not deleted before.
In a recent l10n_fr patch [1] a number of
templates disappeared, which causes an error during
subsequent updates on databases where the obsolete
templates are still present.

As a workaround, we can force a deletion of
all fiscal position templates before loading
them. This is relatively safe because the templates
are not connected to live data, and will be
re-created during the update (except for the
obsolete ones which will be gone forever).

[1] addons 7.0 rev 9515 rev-id: <email address hidden>

9536. By Martin Trigaux (OpenERP)

[FIX] hr_timesheet: cost and revenues of parent analytic accounts aggregate from child analytic accounts

9537. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9538. By Martin Trigaux (OpenERP)

[FIX] account: computation of debit/credit on partner is based on past year moves instead of reported entries, courtesy of Nhomar Hernandez (vauxoo)
This change allows to have consistency in values instead of depending on when the fiscal year is closed and when the entries are generated

9539. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9540. By Martin Trigaux (OpenERP)

[FIX] stock_invoice_directly: if picking is not done while doing partial picking, create invoice on this backorder instead of the current picking

9541. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9542. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9543. By Olivier Dony (Odoo)

[FIX] stock: move analysis report incorrectly merges multiple lines with same picking, product and qty

This error probably stems from the useless complexity of
the SQL view declaration and the double GROUP BY levels.

The patch rewrites the view query with a single GROUP BY
level and proper aggregation levels, but the core part
of the patch is to replace the outer `group by product_qty`
with a `sum(product_qty)`.

Some columns were also mentioned twice in the same GROUP
BY clause, for some reason.

9544. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9545. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9546. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9547. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9548. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9549. By Christophe Simonis (OpenERP)

[FIX] board: filter available dashboards

9550. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9551. By Denis Ledoux (OpenERP)

[FIX]base_import: context was not considered while importing. Thus, default value (for instance) was not set, and that leaded to inconsistencies (Like importing supplier invoices was actually creating customer invoices

9552. By Denis Ledoux (OpenERP)

[FIX]crm_partner_assign: assign_geo_localize function was assigning the latitude/longitude of the first lead to all other leads passed

9553. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9554. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9555. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9556. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9557. By Martin Trigaux (OpenERP)

[FIX] stock: include enventual serial number in product reservation procedure
done using context for stability reason
wont be needed in new wms
opw 600078

9558. By Thibault Delavallée (OpenERP)

[FIX] hr_recruitment: avoid overriding email_from and email_cc in
message_update. This behavior makes sens only in message_new when
setting initial parameter of the applicant, not when somebody sends
an email on the record.
Removed priority change when there is a 'priority' key in msg; but
this key is not likely to be present in a parsed email.
Removed updated values change due to a mapping of values present in
the email. This code was a copy-and-paste from crm and did not have
any meaning in hr_recruitment.

Also removed unnecessary code in project, project_issue, crm_helpdesk
and crm_claim for the same reasons as for hr_recruitment.

9559. By Martin Trigaux (OpenERP)

[FIX] l10n_multilang: remove force_write attribute in process_translations
When processing a translation, the module used to replace the original term by the translated value for accounts (only object with force_write=True). Now getting real multilang feature.
Generates the accounts with no language to get the untranslated value

9560. By Christophe Simonis (OpenERP)

[FIX] document: correct numbering of attachments with the same name

9561. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9562. By Olivier Dony (Odoo)

[FIX] purchase: Purchase Analysis view was using incorrect JOIN order

The starting table for Purchase Analysis is purchase_order_line
not purchase_order. The previous code was using a wrong JOIN
combination starting from purchase_order, which resulted in
a crash if an empty PO was created.
In order to prevent this an extra WHERE clause on product_id
being NOT NULL was added, but this was incorrect too as it
prevented PO lines with no product_id value from appearing
in the Purchase Analysis results, while being perfectly valid.

9563. By Olivier Dony (Odoo)

[FIX] stock: `product cost` field in partial picking wizard must respect decimal precision

Without the right precision the default rounding is
applied and causes a possible loss of precision when
the `Product Price` precision is increased.
This can in turn lead to incorrect average price
computations.

9564. By Olivier Dony (Odoo)

[FIX] stock: programming error in average price computation for multiple lines of the same product

While processing a picking we must keep track of
previously processed lines as they modify the
stock on hand but are not yet included in the
`qty_available` function.
Negative stock on hand is handled as if
the stock was zero as far as the average
price computation is concerned.

9565. By Olivier Dony (Odoo)

[FIX] stock: no early currency rounding when computing average price

It is a common need to set a higher decimal precision
for `Product Price` (i.e. the product cost field) for
high volume / low value items. This may typically
require up to 4-6 decimals for e.g. EUR/USD-based
companies where the currency has 2 decimals.
In that case the product cost should be stored with
full precision without applying the currency rounding.
The appropriate currency rounding will be applied
anyway as soon as a transaction actually uses that
product cost (typically in a SO/PO)

9566. By Olivier Dony (Odoo)

[FIX] purchase: analysis view must not group by quantity, otherwise identical PO lines are counted only once

The product quantity is one of the columns that must be
aggregated, not used to fold PO lines into the same
result row.
This, combined with missing aggregation operators
was causing multiple identical PO lines from the
same PO to be merged together and only counted once
in some aggregations.

9567. By Olivier Dony (Odoo)

[FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause

Similarly to the recent fixes in Purchase Analysis,
the Sales Analysis view must not group on the quantity
field. It is one of the columns that must be aggregated,
not used to fold PO lines into the same
result row.
The line count was also incorrect because of this, and
had to be corrected to actually count() the underlying
SO lines.

In addition, the JOINs were done in the wrong order,
which could cause problems (e.g. if an empty SO ever
landed in the database, all the SO line columns
would be empty in the JOIN, and cause errors)

9568. By Nicolas Vanhoren (OpenERP)

[FIX] problem with pads, the demo configuration doesn't work if the server is using https. I simply changed the url for the demo version.

9569. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9570. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9571. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9572. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9573. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9574. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9575. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9576. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9577. By Denis Ledoux (OpenERP)

[FIX]crm: several calls to _get_id for external id 'categ_phone2' which were not surrounded by try except ValueError

9578. By Denis Ledoux (OpenERP)

[FIX]portal_claim: change of record rule for portal group for object portal.claim, to change behaviour: portal users can now create claims in the portal, read their claims, but cant edit or delete them. They can post messages in the chatter if they want to add something

9579. By Thibault Delavallée (OpenERP)

[FIX] portal: mail_message override: do not check access rules for SUPERUSER_ID

9580. By Martin Trigaux (OpenERP)

[FIX] product_visible_discount: for consistency reason with other modules don't use pricelist into account when creating invoice (only on SO/PO), don't display negative discounts as well (does not make sense) (opw #598290)

9581. By Martin Trigaux (OpenERP)

[FIX] procurement: add condition check_move for transition confirm_mto->ready in procurement workflow

When no other module is installed, no change of behaviour (check_move returns None, always True)
When stock_location is installed, depending of the order of evaluation of the conditions, could go to ready without passing by move activity, avoid this
Courtesy of Mohammad Alhashash

9582. By Denis Ledoux (OpenERP)

[FIX]resource: interval_get_multi crashed when the interval of hours was greater than 24, because it was using datetime parameters instead of using timedelta to create a datetime in the future/past

9583. By Denis Ledoux (OpenERP)

[FIX]base_stage: while duplicating (copy), do not set default values date_open and date_close to false if default values are already there

9584. By Denis Ledoux (OpenERP)

[FIX]crm: duplicating lead/opp duplicated the stage and put to false date_open if it was an opp. Now put stage to 'new' stage and set date_open to today if it is an opp

9585. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9586. By Martin Trigaux (OpenERP)

[FIX] sale_stock: take into account the value of the customer reference on grouped invoice (opw #599716)

9587. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9588. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9589. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9590. By Martin Trigaux (OpenERP)

[FIX] account: set customer reference for the invoice name (customer refrence) while refunding instead of reason of refund (opw 591713)

9591. By Martin Trigaux (OpenERP)

[IMP] crm: match on contact name while searching for customer for leads (opw 591923)

9592. By Martin Trigaux (OpenERP)

[FIX] mrp_byproduct: add context arg to method action_confirm to match the one from mrp (opw 592270)

9593. By Martin Trigaux (OpenERP)

[MERGE] [FIX] purchase: set pricelist action in pricelist submenu instead of top (opw 592320)

9594. By Martin Trigaux (OpenERP)

[MERGE] [FIX] l10n_be: force 2 digits for vat declaration to be accepted by official website (opw 592464), courtesy of Wim Audenaert

9595. By Martin Trigaux (OpenERP)

[MERGE] [IMP] pad: catch urllib error, instead of showing traceback display helpful error message (opw 593069)

9596. By cto

[MERGE] [FIX] account: unlink method on account.move accepts one argument (opw 592795)

9597. By Martin Trigaux (OpenERP)

[MERGE] [IMP] sale_order_dates: don't require technical feature to display additional fields (opw 594184)

9598. By Martin Trigaux (OpenERP)

[MERGE] [IMP] stock: don't display origin (source) field if linked to no picking (opw 595645)

9599. By Martin Trigaux (OpenERP)

[IMP] account: revert wrong commit 9590 and set default value with customer refrence

9600. By Martin Trigaux (OpenERP)

[IMP] account: cleanup

9601. By Martin Trigaux (OpenERP)

[FIX] auth_signup: avoid getting login screen instead of signup when has correct invitation token due to concurrent calls (opw #598453)

9602. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9603. By Denis Ledoux (OpenERP)

[FIX] [IMP] mail: refactored code of message_auto_subscribe.

This new code allows faster computation, because it avoids
- searching in a many2many relationship that is very costly in production
databases, because it is replaced by an 'id in [ids]' equivalent leaf
that can be huge.
- browsing in a create/write (should also lessen the number of issues
about read access rights in create)

A new optionnal parameter is given to the method, that are the
modified values. If this is not given (compatibility-mode) the
records are browsed to fetch the value.

9604. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: display reception numbers on kanban view with sigular form in case of only one

9605. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mrp: correctly handle internal type for stock.picking on manufacturing order

9606. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: add missing context in account move creation during valuation, courtesy of Lorenzo Battistini (Agile BG)

9607. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9608. By Olivier Dony (Odoo)

[FIX] portal: mail access right test is not totally accurate

The access right test expect an exception
to be raised when accessing any of the
followers, but this is not 100% correct,
as the test user (Chell) should be able to
read her own record.
This worked by chance because the ORM
prefetching was triggering an access error
whenever any follower was accessed, but
this was a bug, now fixed in server at
rev-id <email address hidden>
revno 5136

9609. By Olivier Dony (Odoo)

[FIX] point_of_sale: POS delivery orders were incorrectly using the internal picking sequence

9610. By Olivier Dony (Odoo)

[FIX] stock: chained location type `Customers` was not working at all for pickings without partner

This can create inconsistencies in the warehouse inventory
in case delivery orders are not customer-specific, e.g.
when using the POS.
When there is no destination customer we can still use
the default Customers locations.

9611. By Olivier Dony (Odoo)

[FIX] point_of_sale: `update` button in POS order form was calling a non-existing method

This dummy button is only meant to save the
order and refresh the view, which is easily
accomplished by sending an non-existing
workflow signal. Setting the button type
to the default `workflow` type (or simply
removing the wrong type) fixes the problem.

9612. By Olivier Dony (Odoo)

[FIX] procurement: order points must procure goods in the specifiedt warehouse

The default warehouse picked by procurements only works
for companies that only have on warehouse

9613. By Olivier Dony (Odoo)

[FIX] procurement: magic bypass transition was incomplete and preventing pulled flows from working

The procurement workflow has a magic `bypass` transition
that acts as a fallback for MTO procurements in case the
necessary modules are not (yet) installed. For example
it will consider a MTO+Buy procurement directly satisfied
if the Purchase module is not yet installed.
However this bypass transition did not properly take
"internal pulled flows" into account, which are added
by the `stock_location` module as a third kind of procurement
type. In this case the bypass would match and never
give stock_location the chance to run.
In order to be consistent with the other procurement
methods, the bypass transition needs to be adapted.

Also updated the check_move() method to make it more
explicit rather than a side-effect.

9614. By Olivier Dony (Odoo)

[REVERT] stock: commit 9557/OPW 600078 assumes that production lot are guaranteed to be set on each relevant move

This assumption is incorrect in OpenERP v7. The WMS
design in OpenERP 7 and previous versions only permits
tracking production lots (aka serial numbers) on
incoming moves, outgoing moves and production moves.
You can specify production lots on internal moves too,
but the system will also generate internal moves for
many reasons, and nothing guarantees that they will
have the right lots assigned.
This is a design decision, and this means that we
must never enforce the availability of specific
production lots.

This features will be available in OpenERP 8 through
the use of an extra concept called "Quants", that
will make this kind of tracking possible.

9615. By Olivier Dony (Odoo)

[FIX] stock: stock.picking.in/out (technical models used to separate several picking types) should also apply _defaults from stock.picking

9616. By Olivier Dony (Odoo)

[FIX] delivery: the stock.picking.{in,out} workaround was only partial

Due to a framework limitation the virtual stock.picking.in
and stock.picking.out models need to duplicate the extra
columns added to the stock.picking master model.
This was only partially done, leading to errors in
some cases when stock.picking.{in,out} were directly
used by business methods.

9617. By Christophe Simonis (OpenERP)

[FIX] l10n_in_hr_payroll: use xmlid instead of name searching salary rule categories (they may have been renamed, forbidding upgrade)

9618. By Denis Ledoux (OpenERP)

[FIX]account: fix _balance func field on account.move.line to always return a result for the request ids

9619. By Martin Trigaux (OpenERP)

[MERGE] [FIX] hr_expense: add expenses in state 'Waiting payment' in the search filter 'To Pay' (opw 597054)

9620. By Martin Trigaux (OpenERP)

[MERGE] [FIX] project: add noupdate on data to avoid erasing changes on stages, exclude mail.message.subtypes (want overwrite), courtesy of Alex Comba (Agile BG)

9621. By Martin Trigaux (OpenERP)

[MERGE] [FIX] l10n_fr: Restore the appropriate accounts on tax ACH-19.6, courtesy of Alexis de Lattre (akretion)

9622. By Christophe Simonis (OpenERP)

[MERGE] remove warnings

9623. By Antony Lesuisse (OpenERP)

[FIX] fleet,project allow demo user to create cars and projects

9624. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9625. By Thibault Delavallée (OpenERP)

[FIX] mail: auto_subscribe: fix subscription, could have subtypes linked to another model than the current model

9626. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: correctly recount quantity when split on multiple locations for product reservations (opw 600277)

9627. By Martin Trigaux (OpenERP)

[MERGE] [FIX] sale: sale.order.line, remove duplicated state field that made the statusbar in the header to be incorrectly rendered (opw 598572)

9628. By Martin Trigaux (OpenERP)

[FIX] email.template: add safe filter over email address to allow emails to be sent in the format 'Name <email address hidden>' and avoid escaping

9629. By Olivier Dony (Odoo)

[FIX] stock.picking.in: typo in default_get implementation

9630. By Martin Trigaux (OpenERP)

[FIX] stock: don't display the evaluated boolean in delivery slip report

9631. By Martin Trigaux (OpenERP)

[MERGE] [FIX] warning: modify onchange behaviour for purchase.order.line to match the one of original purchase.order.line: when removing product, keeps other information instead of setting it to blank. Had the side effet to make impossible to select a unit of measure (required field) without a product (not mandatory)

9632. By Martin Trigaux (OpenERP)

[MERGE] [IMP] survey: hide readonly field if empty on request form

9633. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mail: exclude document name from the string to translate (avoid having one translation per file name...)

9634. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9635. By Martin Trigaux (OpenERP)

[FIX] email.template: add missing parenthesis to filter all data on email and not the last one

9636. By Martin Trigaux (OpenERP)

[FIX] project: convert int to list for iteration write of account.analytic.account

9637. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9638. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9639. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9640. By Martin Trigaux (OpenERP)

[FIX] sale_crm: return id only for default method of type many2one field in make sale order wizard

9641. By Denis Ledoux (OpenERP)

[FIX]hr_timesheet_sheet: report, the join clause of the view was wrong, account_analytic_line is join with hr_timesheet_sheet_sheet thanks to the sheet_id (hat.sheet_id=htss.id), not with the line_id (hat.line_id=htss.id)

9642. By Denis Ledoux (OpenERP)

[FIX]hr_timesheet_sheet: remove useless css rule, which had the effect of erasing the half timesheet weekly input on ie.

9643. By Thibault Delavallée (OpenERP)

[FIX] mail: fixed replying to the first message in Inbox that was crashing

9644. By Thibault Delavallée (OpenERP)

[FIX] mail: fixed reply button in mail_mail form view, should reply
to a mail.message, not a mail.mail.

9645. By Thibault Delavallée (OpenERP)

[FIX] mail: in some cases tracking is called
without the context (some workflows for example). In that case use the
current user lang when generating the automatic message. This is done
by adding it in the context if not present.

9646. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9647. By Denis Ledoux (OpenERP)

[FIX]hr_timesheet_sheet: add right-padding to timesheet weekly input in order to avoid the value to be partially cut (in ie 9/10, for instance)

9648. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9649. By Quentin (OpenERP) <email address hidden>

[FIX] purchase: at the validation of the PO, force the company in the context as the company on the PO in order to read property fields correctly. This patch is necessary to allow a user to confirm a PO belonging to another company (if he has the rights to do so).

9650. By Quentin (OpenERP) <email address hidden>

[FIX] sale, purchase: don't copy the customer/supplier reference when copying a SO/PO

9651. By Christophe Simonis (OpenERP)

[MERGE] {purchase,purchase_requisition}: choose the right warehouse when creating purchase orders from purchase order/requisition

9652. By Martin Trigaux (OpenERP)

[FIX] mail: decode filename at email reception (if non-ascii characters) (opw 591729)

9653. By Martin Trigaux (OpenERP)

[FIX] account: Set the alignment of Total parallel to amount in invoice report

9654. By Denis Ledoux (OpenERP)

[FIX]note: notes with undefined stages did not appear if the user had defined stages (they appeared if the user had no stages defined)

9655. By Martin Trigaux (OpenERP)

[FIX] pad: add break-word css to avoid going out of the field in case of too long words (eg: urls) (opw 593426)

9656. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9657. By Martin Trigaux (OpenERP)

[MERGE] [FIX] sale: use client ref on invoice val instead of name for make invoice wizard, same behaviour as creation of invoice in classic _prepare_invoice of sale.py. Courtsey of Yannick Vaucher (Camptocamp)

9658. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mail: css improvement, no overflow when too long words, line break instead

9659. By Martin Trigaux (OpenERP)

[MERGE] [FIX] sale_stock: pass missing context when retrieving product uom (opw 594350)

9660. By Martin Trigaux (OpenERP)

[MERGE] [FIX] document: check method fails if it is called with an id instead of a list of ids. Courtesy of Carlos Vásquez (CLEARCORP)

9661. By Martin Trigaux (OpenERP)

[MERGE] [FIX] purchase: fix typo attr -> attrs in form view, courtesy of Joshua Jan (SHINEIT)

9662. By Martin Trigaux (OpenERP)

[FIX] stock: switch ids new - old picking in the message informing the back order was created (opw 594402)
Post on delivered picking that the backorder was created. Was inconsitent with the field 'Back order of'

9663. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9664. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] crm: fixed lead to opportunity wizard customer creation policy (opw 596231).

When choosing to link to an existing customer, then changing the action to create
a new customer or to avoid linking, the newly created opportunity was linked
to the previously chosen customer, due to the partner_id field not being
reset and used in the conversion process.

This field is not reset when changing the conversion action, leading to the action
being correctly taken into account.

9665. By Thibault Delavallée (OpenERP)

[FIX] crm_claim: the 'My Company' filter was wrong, not useful and not possible to achieve. It is therefore set as invisible, and its domain set as void. This won't break any inheriting views, and this filter is ready to be removed in 8.0

9666. By Martin Trigaux (OpenERP)

[FIX] purchase: revert revision 7677 to set a default unit of measure to 'Unit'
This allows to field a purchase.order without showing the units of measure if not product is selected
Revision 7677 was integrated to fix lp:958897 (no change of uom when selecting a product whose uom is in the category 'Units'). This fix did not solve it properly (only for initial value) and introduced another problem. A better fix will be done on the onchange product.

9667. By Denis Ledoux (OpenERP)

[FIX] {account, sale_stock}: res_config: set_default as SUPERUSER_ID. check user group to avoid passthrough access rights security

9668. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9669. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9670. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9671. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9672. By Denis Ledoux (OpenERP)

[FIX]portal_sale: add the lang to the email templates (sale.order and account.invoice), for the email to be translated in the customer language (as this is the case for regular email templates from sale and account modules-

9673. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9674. By Denis Ledoux (OpenERP)

[FIX] sale_crm: wizard crm_make_sale crash if partner_id not sent on the opp.

Because defaults get function of partner_id of wizard read the partner_id of the opp and return the first item of the tuple, but if there isnt a partner on the opp, the read return a false for this field, not a tuple.
No return the first item of the tuple if the partner_id is set, else False

9675. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9676. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9677. By Denis Ledoux (OpenERP)

[FIX] sale_stock,stock: change model to stock.picking.out of deliveries to invoice view in sales

Deliveries to invoice in sales menu should display delivery order only (no incoming shipment). This was already the case thanks to the domain [('type','=','out')], but since the refactor of the module stock, and the division of stock.picking to stock.picking.in and stock.picking.out, the model of this view should be stock.picking.out instead of stock.picking (for instance, to get the actions binding (ir.values) of stock.picking.out model).
+ typo fix in action binding

9678. By Denis Ledoux (OpenERP)

[FIX] purchase: warning uom category different only if the changed field is product_uom itself.

Changing product_id with a different unit category does not trigger the uom category change warning

9679. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account: performance improvement on account.analytic.lines
don't create new analytic lines at move creation, will do it once the move is balanced
don't remove analytic lines (to avoid duplicates) at the begining of the validation of a move, will do it once we create the new correct analytic lines (opw 597719)

9680. By Martin Trigaux (OpenERP)

[FIX] account: correct name_search on account to be validated even at negation
added test checking every combinaison of name_search

9681. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9682. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9683. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] mail: fixed message_follower_ids function field.

The set method of the field, set_followers, is now using message_subscribe and message_unsubscribe to have only one access point to adding or removing followers. Previously to this fix it was directly creating entries in the mail_followers table, neglecting the calculation of subtypes and default subtypes.

9684. By Denis Ledoux (OpenERP)

[FIX] point_of_sale: ignore TOTAlY returns

Returns were partially ignored when typing keystrokes, thanks to a return; when event which equaled 13, but the default behaviour (press on the focused input/button) was not prevented. This is now the case thanks to preventDefault. For instance, just after a discount set, the focused input was pressed and the associated value was added when scanning a new product with the scanner. Therefore, if we entered a discount of 30%, scanning a new product added '0', the last pushed button, to the discount, and then added the product.

9685. By Xavier ALT

[FIX] crm: use email widget for email_from field in Opportunities form view

9686. By Denis Ledoux (OpenERP)

[FIX] stock: incoming shipment supplier quick create was creating a customer instead of a supplier

9687. By Denis Ledoux (OpenERP)

[FIX] purchase: set readonly on warehouse_id related field in stock.picking.in

9688. By Christophe Simonis (OpenERP)

[MERGE] annoucement bar

9689. By Denis Ledoux (OpenERP)

[FIX] point_of_sale: fix default destination(or source, for returns) location for pos order moves

For instance, the source location of moves of returned products was output instead of partners locations / customers

9690. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9691. By Denis Ledoux (OpenERP)

[FIX] mrp: cost structure report, do not display twice main supplier

9692. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9693. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9694. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9695. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9696. By Denis Ledoux (OpenERP)

[FIX] account_analytic_analysis: is_overdue_quantity was not updated when quantity max was changed

is_overdue_quantity is a stored function field which was updated only when analytic lines where updated. Or, when the quantity_max field is updated, this field should be recomputed and restored. This is now the case

9697. By Xavier ALT

[FIX] document: duplicate directory detection should work even when a record rule prevent user from seeing duplicates

9698. By Olivier Dony (Odoo)

[FIX] base_action_rule: upon update/create of an automated action in multiprocess mode, force registry reload

Short of signaling the other workers, the (new) automated
rule may be randomly ignored, depending on which worker
handles the request (until the workers all reload
their registries).

9699. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9700. By Olivier Dony (Odoo)

[FIX] project_mrp: local copy of the "Procurement" process node to avoid errors during updates when sale_stock is not installed

The various attempts to fix this error without duplicating the node
have all caused other errors. Having a duplicate process node has
no consequence on business operations, so it is an acceptable
workaround until the node can be moved to the sale module.

9701. By Denis Ledoux (OpenERP)

[FIX]sale_crm: quotation/sale order default section_id based on res_users default_section_id

9702. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9703. By Martin Trigaux (OpenERP)

[MERGE] [IMP] account_payment: remove widget=selection (was forcing the preloading of every partner for an invisible field)

9704. By Xavier ALT

[FIX] hr_holidays, hr_timesheet: fix XMLSyntaxError when company name contain an ampersand '&' sign

9705. By Xavier ALT

[FIX] l10n_be: fix no value in 'Code (Tax Code)' column on 'Print VAT Intra' preview report

9706. By Xavier ALT

[FIX] project: fix error on ``schedule_tasks`` when there is no resource available on project

9707. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9708. By Xavier ALT

[FIX] document: on report.document.user view, use correct field type for ``user_id`` field.

9709. By Xavier ALT

[FIX] purchase: remove duplicate 'Warehouse' and 'Reference UOM' groupby filter in Purchase Analysis search view

9710. By Xavier ALT

[FIX] project: fix task progress not correctly updated when reopening a task

9711. By Thibault Delavallée (OpenERP)

[FIX] email_template: support of email_recipients in send_mail.
email_recipients is a char fields holding a comma separated list of partner_ids
that are the email recipients. This field is correctly handled in the composer
but was not taken into account in the send_mail method email_template.
However due to model limitations, this field can only be taken into account
when sending the email directly using force_send. When the email is
queued, no field is available to hold the value of email_recipients.
This is already fixed in trunk/v8 as a field has been added to handle
this value.

[FIX] mail: when sending email to some recipients_ids, filter to have only
the existing partner_ids. Trusting email template to generate valid
partner_ids is a bit risky.

[TESTS] email_template: added tests for send_mail

9712. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9713. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9714. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9715. By Martin Trigaux (OpenERP)

[FIX] hr_payroll: skip missing structures in get_all_structures for hr.contracts (eg: if structure is deleted afterward) (opw #602411)

9716. By Denis Ledoux (OpenERP)

[FIX] account_check_writing: display real currency name on check print

Instead of 'Euro' hardcoded.
As the currency complete name is not available in res.curreny model, exceptions are made for currencies EUR, USD and BRL, the mosts used currencies for checks (+75% of cases)

9717. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9718. By Denis Ledoux (OpenERP)

[FIX] account_voucher: computed writeoff and invoices selected were not right on partial invoice payment in account voucher wizard.

Due to the algorithm which did not handle the fact that an invoice could have several move lines

9719. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9720. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9721. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] sale_stock: invoice services when invoicing on delivery order

9722. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9723. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9724. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9725. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9726. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9727. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9728. By Denis Ledoux (OpenERP)

[FIX] mail: mails with attachments containing special chars (such as é) were not delivered properly

get_filename method from email lib returns sometimes decoded value, sometimes still encoded.
for instance, get_filename cannot decode iso encoded filename

Recently, decode method has been applied on filename string, to handle iso encoded file.
Sadly, one cannot decode already decoded values.
Therefore, decoding already decoded windows or utf-8 encoded filename with special chars failed.

9729. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9730. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9731. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9732. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9733. By Martin Trigaux (OpenERP)

[FIX] mail: check access rules of related documents when subscribing to it
Fix tests to execute actions with user that are allowed to

9734. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9735. By Martin Trigaux (OpenERP)

[IMP] analytic: rename the field 'date' from 'End Date' to 'Expiration Date'. The date field is considered as not included by the system but the name of the field was not explicit enough (opw 602619)

9736. By Martin Trigaux (OpenERP)

[FIX] _auto_init: return a value to _auto_init calls. Backport of trunk revision 8679

9737. By Martin Trigaux (OpenERP)

[MERGE] [FIX] crm: post message for logged/scheduled call in use timezone instead of utc (opw #600751).
Use <time> html element containing UTC time.
Updated POT to contains new translation value

9738. By Olivier Dony (Odoo)

[FIX] crm.pot: duplicate msgid in previous commit

9739. By Martin Trigaux (OpenERP)

[IMP] crm: use %s pattern for variables in translations instead of {}, updated pot file

9740. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9741. By Martin Trigaux (OpenERP)

[FIX] mrp: move _prepare_order_line_procurement to model sale.order instead of procurement.oder. This will add the lost property_ids that was removed at rev 9622.

9742. By Quentin (OpenERP) <email address hidden>

[FIX] account: amount in secondary currency shouldn't be recomputed if 0 is given as value

9743. By Quentin (OpenERP) <email address hidden>

[FIX] account_voucher: default value for float field is 0.0, not False. (That doesn't change the behavior but makes things more clear)

9744. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9745. By Thibault Delavallée (OpenERP)

[FIX] mail: Chatter widget: keep void list of ids when fetching messages;
only specific false ids should be replaced by a domain.

9746. By Thibault Delavallée (OpenERP)

[FIX] mail: Chatter widget: the RecordThread widget, that is
used to display the Chatter on documents, should use the
domain defined on the field. Indeed this domain is used when
computing the 'read more' expandable domains.
Before this fix it was not taken into account, leading to
messages being fetched without respecting the domain
defined on the field.

9747. By Martin Trigaux (OpenERP)

[MERGE] [FIX] base_calendar: allow ordering on calendar.event objects.
The ordering is done during the generation of recurrent ids. If no ordering is done, fallback on self._order.
Based on code from Erik Heeren.

9748. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9749. By Martin Trigaux (OpenERP)

[FIX] stock: when receiving an incoming shipment, the default quantity should be prefilled.
This fixes the issue when the picking was first confirmed and received later, stock.move have the state as confirmed (Waiting Availibility)

9750. By Martin Trigaux (OpenERP)

[FIX] account_voucher: in fields_view_get overwrite, also add the 'default_supplier/customer' properity in context.
With this the 'create and edit' menu will initiate the partner as a supplier.

9751. By Martin Trigaux (OpenERP)

[FIX] mrp: move _prepare_order_line_procurement to module sale_mrp as mrp module does not depends from sale

9752. By Denis Ledoux (OpenERP)

[FIX] decimal_precision: signal workers to restart their registry when decimal precision change.

9753. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9754. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9755. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9756. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account: fixed amount in foreign currency for opening entries

When generating fiscal year opening entries, if the account uses a different currency, the amount_currency should contains only the entries of the current year and not the previous one. Courtesy of Matthieu Dietrich (camptocamp)

9757. By Denis Ledoux (OpenERP)

[FIX] hr_timesheet_invoice: on_change_partner_id, do nothing if partner_id is False

9758. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9759. By Olivier Dony (Odoo)

[FIX] account: restore cross-account reconciliation check, disabled by mistake in v6.1

Both the FY closing change and the removal of the
check occurred in v6.1 at revision 6529
revid:<email address hidden>.

Also removed code specific to fiscal year closing
in the regular reconciliation operation, as the
FY closing is now using a dedication reconciliation
algorithm.

This is a forward-port of the corresponding patch in v6.1,
at revno 7295 rev-id: <email address hidden>.

9760. By Olivier Dony (Odoo)

[FIX] email_template: fix invalid uses of tools.email_split

This is necessary to have the tests pass after
the corresponding server patch in server 7.0
at revision 5198 revision-id: <email address hidden>

9761. By Denis Ledoux (OpenERP)

[FIX] purchase: fix workflow for orders based on incoming shipments

Purchase orders Based on incoming shipments never ended in done stage

9762. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9763. By Martin Trigaux (OpenERP)

[FIX] base_calendar: when sorting on a many2one field (format (id, name)), sort on the name value instead of full tuple

9764. By Olivier Dony (Odoo)

[FIX] portal: use email_split method to avoid blocking valid emails, rather than obsolete email_re

9765. By Thibault Delavallée (OpenERP)

[FIX] mail: mail_thread: fixed a bug in subscription, new followers
could overwrite the subscription of previous followers.

This has already been fixed in saas-2 branch at revision 9079 (revid
<email address hidden>). But the fix is also
valid for the 7.0 stable branch.

9766. By Martin Trigaux (OpenERP)

[IMP] sale,purchase order: order the field based on date_order instead of name (opw 602879)
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)

9767. By Denis Ledoux (OpenERP)

[FIX] hr_timesheet_sheet: save correctly if focus is in a timesheet input

on_change_unit_amount was called manually in the timesheet widget. Normally, save waits for all on_change to be applied, but in this case, as the on_change its called manually in the js, it was not the case.
The fix is to put all deferreds for which we must wait for in an array, and to wait all deferreds to be done before saving.

9768. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9769. By Martin Trigaux (OpenERP)

[FIX] base_calendar: when searching on events, avoid getting an error if virtual_id=False and count=True

9770. By Christophe Simonis (OpenERP)

[FIX] decimal_precision: clearing the cache is suffcient when decimal precision change.
[IMP] decimal_precision: call digits_change() on any field that support it, not only on float and function fields

9771. By Denis Ledoux (OpenERP)

[MERGE] mrp: in work orders duration is displayed in decimal numbers instead of time

9772. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9773. By Denis Ledoux (OpenERP)

[FIX] account_asset: accounts should be regular type only

Asset Account, Depreciation Account and Depr. Expense Account must be of type regular, only.

Thus, we add a domain on each, so we can choose only regular accounts.

9774. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9775. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9776. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9777. By Denis Ledoux (OpenERP)

[FIX] purchase: on unlink purchase order line, cancel procurements associated to the move of the purchase order line

9778. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9779. By Denis Ledoux (OpenERP)

[FIX] stock: updating cost price for products with cost method set to average price and inventory valuation periodic (manual) does not write move lines.

As the move line should be written manually by the accountant

9780. By Martin Trigaux (OpenERP)

[MERGE] [FIX] document_ftp: allow to use '..' command when traveling in ftp directories
This command is triggered when trying to go one level up in some FTP softwares (eg: FileZilla)

9781. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9782. By Martin Trigaux (OpenERP)

[FIX] email_template: error message instead of traceback when sending an email from a user without user

9783. By Martin Trigaux (OpenERP)

[MERGE] [FIX] project_long_term: do not schedule_phases if no project is found (avoid traceback)

9784. By Denis Ledoux (OpenERP)

[FIX] mrp, stock: avoid float rounding errors using float_compare

9785. By Martin Trigaux (OpenERP)

[MERGE] [FIX] plugin: fixing issues with push_message method (opw 593592)
retrieve 'message_id' key from dict produced by message_parse instead of 'message-id'
add author_id, message_from and message_id info
set message with content as html, do not add body_html field which is inexistant in mail.message model

9786. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9787. By Denis Ledoux (OpenERP)

[FIX] sale, purchase, sale_stock: on orders lines, on product changed, change the uom (even if the uom is in the same category)

9788. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9789. By Denis Ledoux (OpenERP)

[REVERT] 9401 <email address hidden>

This had as side-effect to not allow splitting BOMs
(a manufacturing order for 1 unit of a BOM producing 10 units consumed the lines like it was 10 units, not 1)

This fix was to avoid having a fraction of a unit (for instance, 0.5 unit).

But, finally, it is preferable to allow splitting units:
1. Most users do not use several uoms, and in this case, the unit is the default uom (hidden).
2. At the moment, it is allowed to ask a manufacturing order splitting up the unit uom
(It is allowed to ask the production of 0.5 USB Adapter, for instance)
Thus, we should allow the splitting up of the unit uom in the lines too.

9790. By Christophe Simonis (OpenERP)

[FIX] plugin: correct condition to match partners from emails.

correct copy/paste bug introduced in revid 9785 <email address hidden>

9791. By Antony Lesuisse (OpenERP)

[FIX] contract search view typo

9792. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9793. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9794. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9795. By Martin Trigaux (OpenERP)

[MERGE] [FIX] users_ldap: forward port of rev 7301 from 6.1, get rid of results without DN for searchResultReference

9796. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9797. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9798. By Denis Ledoux (OpenERP)

[FIX] purchase: on po confirm, avoid to write location_id on the chained stock move if the move is done

On purchase order confirmation, if the order_line comes from a procurement order created by a sale order,
it tried to write on the location_id, whatever the move state was, even done.

Or, sometimes, the stock move associated to the procurement order (from the so) was already done, for example because we forced the availability of the stock move.
It makes sense to not write the location_id if the move is already done, because the location_id is already good.

9799. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account_voucher: forward port of fixes from 6.1 (rev 6966)
When importing invoices to a bank statement the bank statement lines are created with statement date instead of today
Set the date on the created voucher in the same wizard to the statement date instead of invoice date (problematic if different period)
When creating the account moves (at bank statement confirmation), make sur the date and period of the vouncher are synchronised

9800. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9801. By Martin Trigaux (OpenERP)

[FIX] stock: when creating manufacturing order from procurement workflow, do not write location on state (already set previously). (opw 603600)

This avoids having an access rights error when trying to write on a move in done state (eg: in case of force availibility)

9802. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9803. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9804. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9805. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9806. By Denis Ledoux (OpenERP)

[FIX] purchase: hide receive invoice if invoice based on purchase order line.

It has to be done manually.

opw-603620

9807. By Martin Trigaux (OpenERP)

[FIX] qweb templates: t-raw to t-esc

t-raw usage is discourage if not to displayed html content (after escaping) as it may contain unsafe data

9808. By Martin Trigaux (OpenERP)

[MERGE] [FIX] audittrail: various bugs (opw 603072)

- tracking unlink does not fail anymore
- do not track virtual fields on res.users model (would for .column call)
- make sure read calls with one id works (launchpad bug lp:1214149)
- select the correct model when tracking x2m fields values

9809. By Denis Ledoux (OpenERP)

[FIX] account: residual amount computation with refund invoices

On invoice residual amount computing, we ignore reconcile entries line if their invoice are not of the same type of the current invoice
The above revision(s) will be removed

9810. By Martin Trigaux (OpenERP)

[MERGE] [FIX] account: action 'Journal Items' on a journal entries should restrict by account.move and not journal (src_model) (opw 585153)

9811. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9812. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mail: mail: backport of saas-2 revision 9065 and 9081 and security improvements.

Add followers before super call in mail_thread creation.
This allows to have a value for the _set_followers call and be able to have record rules based on followers at creation.

Set the priority of message_follower_ids fields to -10 (default is 0) to be sure it will be executed before other function fields using these followers (eg: _set_stage_per_user from note.note does a browse which would trigger record rules to read the note)

Context hack to avoid checking read access at creation of the record (check create rules instead)

9813. By Martin Trigaux (OpenERP)

[ADD] stock: update pot file to latest version of translations

9814. By Denis Ledoux (OpenERP)

[FIX] point_of_sale: validate and closing pos sessoin handle multi company

When the user who validated and closed the pos session was not the same user who created the session, and if this user was not in the same company, it wasnt possible to validate and close the pos session.

This explanation if also valid if the user who created the pos session changed of company in his preferences between the creation and the validation.

9815. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9816. By Olivier Dony (Odoo)

[FIX] project.task: simplify delegated tasks remapping after task copy + avoid write() call if not necessary

This avoids recomputing function fields if not
necessary.

9817. By Olivier Dony (Odoo)

[FIX] project.copy(): avoid preparing useless children data to copy, as they are discared in analytic.copy. Duplicating children is handled by duplicate_template().

9818. By Olivier Dony (Odoo)

[FIX] mail.thread: avoid tracking multiple temporary changes during copy

9819. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9820. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9821. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9822. By Martin Trigaux (OpenERP)

[FIX] mail: priority -10 on message_follower_ids to make sure executed before other function field that may use the followers (eg: note.note for access rights)

9823. By Thibault Delavallée (OpenERP)

[IMP] mail: subscription: if no-one to (un)subscribe, already return. This is not
necessary for computation, but saves some browse / access right checking.

9824. By Denis Ledoux (OpenERP)

[FIX] sale, sale_stock: send by email button visible when sent, progress or manual

+ remove 'invoiced' from statusbar_visible, as there is no such state
+ proper inherit in sale_stock form view

9825. By Denis Ledoux (OpenERP)

[FIX] point_of_sale: distraction error from revision 9814 revid:<email address hidden>, missing .id in order to compare company for taxes

9826. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9827. By Martin Trigaux (OpenERP)

[MERGE] [FIX] pricelist: correctly take into account uom when computing pricelists based on supplier price on product form (opw 595881)

The previous behaviour used the uom of the product while it is not necessary the one selected (eg: by default the purchase unit of measure for purchase orders).
This was an issue especially when having a different uom with supplier info lines setting degressive prices. The price should be computed based on selected uom and not the product uom.

9828. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9829. By Denis Ledoux (OpenERP)

[FIX]point_of_sale: Mode of payment displayed browse_record object instead of the name of the method payment

9830. By Olivier Dony (Odoo)

[FIX] base_action_rule: attempt to reuse creator language when evaluating action filters

Some filters needs to be evaluated with the same
language as their author, e.g. when searching on
translatable field values. When a time-based
action is processed by the scheduled task,
we should thus attempt to reuse the same
language as the author of the corresponding
filter.

9831. By Denis Ledoux (OpenERP)

[FIX] point_of_sale: sales summary report displays actual amount of taxes, instead of displaying the amount where the taxe is applied

9832. By Christophe Simonis (OpenERP)

[FIX] pad: hide chatter in fullscreen mode

9833. By Denis Ledoux (OpenERP)

[FIX] account_voucher: account_id always visible on sales & purchase receipts

account_id is mandatory, and is set thanks to an onchange of partner_id. But partner_id is not required, therefore, if you do not set a customer/supplier, there is no
     account_id set by default.

On the purchase, the account_id was always invisible. Therefore, it was impossible to set the account_id if you did not set any supplier
On the sale, the account_id was invisible if you set the pay_now to pay later. Therefore, it was impossible to set an account_id if you did not set any customer and set pay later.

Anyway, now, account_id is always displayed, so the user can change the value of account_id if the default value provided is not was he wants, whatever the value of the other fields

9834. By Denis Ledoux (OpenERP)

[FIX]account_voucher: do not set account_id to False during onchanges

9835. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9836. By Thibault Delavallée (OpenERP)

[MERGE] [FIX] fetchmail: more coherent and robust behavior of fetchmail. Notably, do not discard the whole email stack or stop after first crashed email processing.

Featuring:
- [FORWARD] [FIX] Forward port of revision 6920 of 6.1 addons branch, revid:<email address hidden>. Purpose: some fixes and more robuts handling of incoming emails
- [IMP] mail: mail_thread: message routing: raise exceptions instead of using asserts. Indeed assert are statements meant to be used when developping, for debug purpose. In a production environment it is safer to use real exceptions that can be managed accordingly.
- [FIX] mail: fixed tests, no more AssertionError, but ValueError
- [IMP] fetchmail: try / except each email processing. This allows to print an exception in the logs for every failed email processing, without crashing the whole stack. Any failed or succeeded email is set as seen, to avoid crashing every time the scheduler runs.

9837. By Denis Ledoux (OpenERP)

[FIX] base_import: auto_install True

Import feature should now be regarded as an opt-out feature:
Available by default, but you can disable it if you do not want it.

9838. By Olivier Dony (Odoo)

[FIX] base_vat: support Irish Tax numbers introduced in 2013

This is a temporary fix until upstream is fixed.
References:
- http://en.wikipedia.org/wiki/Personal_Public_Service_Number
- https://www.welfare.ie/en/Pages/Extension-of-the-Personal-Public-Service-Number-Range.aspx

9839. By Denis Ledoux (OpenERP)

[FIX] account: move_line_quick_add js, set the domain in the dataset (for instance, for export tool) + performance improvement (no need to re-compute journal list and period list each time a search is done)

9840. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9841. By Denis Ledoux (OpenERP)

[FIX] event: on_change methods must return a dict, always.

9842. By Denis Ledoux (OpenERP)

[FIX] mail: word wrapping in pre tags (for mails without html in chatter)

9843. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9844. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9845. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9846. By Denis Ledoux (OpenERP)

[FIX] crm: on_change_partner did not set the zip code in lead/opp

9847. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9848. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9849. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9850. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9851. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9852. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9853. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9854. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9855. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9856. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9857. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9858. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9859. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9860. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9861. By Denis Ledoux (OpenERP)

[FIX]stock: in fill inventory wizard, set raise-exception to False in context to avoid having error saying that the product uom category is different: this button is just a tool to help filling the inventory. Anyway, If it should pop the error, it should be on the validation, not in the button to auto-fill the inventory.

9862. By Denis Ledoux (OpenERP)

[REVERT] partial revert <email address hidden>, distraction error, left pudb

9863. By Martin Trigaux (OpenERP)

[FIX] hr_payroll_account: compare debit and credit values with float_compare, this avoids float rounding issues

9864. By Olivier Dony (Odoo)

[FIX] product: avoid reading image_small field which is bandwidth intensive and un-necessary

9865. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9866. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9867. By Martin Trigaux (OpenERP)

[FIX] base_import: update the select2 library up to version 3.4.5

This fixes rendering issue in firefox (mouseover bar chart in dashbord view)
Replace the new localisation of select2 by our translation system

9868. By Martin Trigaux (OpenERP)

[FIX] product: when converting unit of mesures, use ceiling instead of rounding method

This avoids flows to be stucked when a convertion would move/reserve/buy less pieces than the number required (eg: MTO product where supplier has a UoM bigger than the one on the sale order)

9869. By Martin Trigaux (OpenERP)

[FIX] use float rounding for pricelist instead of ceiling

9870. By Olivier Dony (Odoo)

[FIX] product: typo in previous commit

"The only man who makes no mistakes is the man who never does anything. ~T.R." ;-)

9871. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9872. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mail: make subject of invitation wizard translatable

9873. By Martin Trigaux (OpenERP)

[MERGE] [IMP] account: don't display misleading percent symbol while expecting fraction (as suggest the tooltip) (opw #602613)

9874. By Martin Trigaux (OpenERP)

[FIX] phonecall: in 'Logged Call' menu display (by default) only the one in done state (opw 601725)

9875. By Juan Rial (OpenERP)

[MERGE] [FIX] errors on translations generated from localisation template in multilang (opw-589913)

Don't sort the tax template id's or the wrong translation gets loaded

9876. By Juan Rial (OpenERP)

[MERGE] [FIX] division by zero in product margins with 0 sale price and 0 qty (#591893)

9877. By Martin Trigaux (OpenERP)

[MERGE] [FIX] write a value to date_closed when mark an opportunity as won or lost.

This is required to compute correct value for the day_close function field

9878. By Juan Rial (OpenERP)

[MERGE] [FIX] Skip Draft on Journals didn't take effect (#603952)

Fix: call the validate method to advance the entries to posted state

9879. By Juan Rial (OpenERP)

[MERGE] [FIX] Demo data had wrong end date for yearly membership (#602129)

9880. By Martin Trigaux (OpenERP)

[MERGE] [FIX] base_calendar: when computing the reccurency of an event, skip if no recurrency period is set (opw 598737)

Fix the calendar view so that the recurrency period is editable when checking the 'recurrency' checkbox

9881. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mrp_repair: add missing invalidation functions for stored field amount_total, courtesy of Alexandre Fayolle (camptocamp)

9882. By Juan Rial (OpenERP)

[FIX] [MERGE] [SALE] Filter invoice and ship address on sales order to contacts of the selected customer (#592166)

9883. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9884. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9885. By Denis Ledoux (OpenERP)

[FIX] event: event report registration, replace char by varchar in the view, so it can handle more events (basically, it wasnt working when there was more than 10 events)

Courtesy of Muschang Anthony (Acsone)

9886. By Denis Ledoux (OpenERP)

[REVERT]9882 revid:<email address hidden>

While it seems right to only show the partner addresses in invoice and shipping addresses, this fix will prevent to use sibling addresses (the address of another contact in the same company), which is a requirement for several users. Therefore, this fix causes more problems than it resolves.

Moreover, these addresses are displayed on the invoice form as following: Company Name / Partner Name / Address Name. Therefore, if you want to change the address while seeing only the partner addresses, you just have to remove the "Address Name", leaving "Company Name / Partner Name".

9887. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9888. By Martin Trigaux (OpenERP)

[FIX] crm: write a value to date_closed field as well if change directly the stage instead of using buttons (opw 603537)

9889. By Olivier Dony (Odoo)

[FIX] portal: expensive copy/paste typo

9890. By Denis Ledoux (OpenERP)

[FIX] portal: expensive copy/paste typo

9891. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9892. By Martin Trigaux (OpenERP)

[MERGE] [FIX] auditrail: when removing tracked object in a write call (eg: remove a line in o2m field) use the old name value, if present, as the name_get would fail for deleted value (opw 593569)

9893. By Denis Ledoux (OpenERP)

[FIX] account_check_writing: set the amount_in_word even if the check is not created through the voucher form (for example, for checks created through pay wizard of invoices)

9894. By Denis Ledoux (OpenERP)

[FIX] account: using float_round instead of native python round method, to apply half-up tie-breaking rule (1.655 with precision 2 is now 1.66 instead of 1.65).

9895. By nel

[FIX] account: change decimal precision to avoid erasing tax and base values when updating a tax with coefficients on more than 2 decimals

9896. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9897. By Martin Trigaux (OpenERP)

[FIX] base_import: avoid name clash when importing ir.translation records. Call the orm method directly.

This hack is needed in 7.0 to avoid changes in the API.
Renaming the load method of ir.translation is the proper solution for trunk (done in server revision 5018)

9898. By Christophe Simonis (OpenERP)

[FIX] stock: use fully qualified xmlid in *_view_ref context keys

9899. By Christophe Simonis (OpenERP)

[FIX] pad: use server to get pad content

9900. By Martin Trigaux (OpenERP)

[MERGE] [FIX] base_calendar: correct the set method for rrule (opw 605088)

- create hook method to fix the invalid call while keeping the signature of the old methdo
- remove undeclared variable
- force the 'byday' field (type selection) to be a string value instead of an integer

9901. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9902. By Christophe Simonis (OpenERP)

[FIX] calendar: correct recurrency end date computation

9903. By Olivier Dony (Odoo)

[FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier

9904. By Christophe Simonis (OpenERP)

[FIX] share wizard: delete wizard lines in cascade

9905. By Olivier Dony (Odoo)

[FIX] pad: improve pad bootstrap, prevent creating useless empty pads, avoid edition warning in read-only mode for new pads, translate messages

Added a small method to detect the proper server configuration,
and make it degrade gracefully if the method is not present.
This avoids having to force a pad URL generation in order to
test the config (possibly creating useless pads).
Add a user-friendly message when the pad has not yet been
initialized for a given record, in read-only mode.

9906. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: add some missing context, courtesy of Lionel Sausin (Numérigraphe)

9907. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9908. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9909. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9910. By Denis Ledoux (OpenERP)

[FIX] point_of_sale: prevent duplicated order posting

9911. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9912. By Denis Ledoux (OpenERP)

[FIX] purchase: for drop shipping po, the supplier of the picking was the customer address, which is obviously wrong, it should be the supplier of the po

9913. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9914. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9915. By Olivier Dony (Odoo)

[FIX] subscription: missing required dependency on `base`

9916. By Denis Ledoux (OpenERP)

[FIX] stock: force form_view_ref to False in context of actions track_line and scrap_move to avoid context propagation of stock picking views

9917. By Denis Ledoux (OpenERP)

[FIX] point_of_sale: add multi-companies rules on pos.config

9918. By Denis Ledoux (OpenERP)

[FIX] survey: report not stored on filesystem

9919. By jke-openerp

[FIX] Move default value in the _defaults of model and not in default_get.
Don't override the location_id if the super get_default don't retrun a value.

Else it is impossible to set a default value, because the ir_values is always overrided with stock_location_stock as location_id

9920. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9921. By Denis Ledoux (OpenERP)

[FIX] survey: avoid duplicate partners on new users creation

9922. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9923. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9924. By sle-openerp

[FIX] last version of wkhtmltopdf expects all file to have a doctype, inject one if not present

9925. By Denis Ledoux (OpenERP)

[FIX] sale: trigger signal manual invoice for make invoices wizard (not advance)

9926. By Denis Ledoux (OpenERP)

[FIX] sale: make invoice for SO grouped by partner based on partner_invoice_id instead of just partner_id

For two sale order, if the partner_id were different but the partner_invoice_id were identical, the make invoice grouped by partner created two different invoices

9927. By Olivier Dony (Odoo)

[MERGE] l10n_fr: remove obsolete French taxes, following 2014 rate update, courtesy of Alexis de Lattre (Akretion)

9928. By Martin Trigaux (OpenERP)

[MERGE] [FIX] purchase_requisition: when getting the price based on the pricelist for a supplier, pass the missing supplier id (useful for pricelist based on supplier price) (opw 601890)

9929. By Denis Ledoux (OpenERP)

[FIX] project: on project template duplication, keep original tasks stages

9930. By Martin Trigaux (OpenERP)

[MERGE] [FIX] base_calendar: do not add offset symbol to end_date when computing rrule

Fix issue when recurrent event (repeat until specified date) with reminder, would fail comparing naive and offset-aware datetimes

9931. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9932. By Martin Trigaux (OpenERP)

[MERGE] [FIX] point_of_sale: replace search_read call by search + read (search_read not present in 7.0)

9933. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mrp_repair: create invoice button does not update the view

partial backport of trunk revision 8862
courtesy of Leonardo Pistone (camptocamp)

9934. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9935. By Denis Ledoux (OpenERP)

[MERGE][IMP] account: Set the order of the sequence by date while posting journal entries from wizard Periodical Processing> Draft Entries> Post Journal Entries

9936. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9937. By Denis Ledoux (OpenERP)

[FIX] account_voucher: bank statement reconciliation for refund invoice

9938. By Martin Trigaux (OpenERP)

[MERGE] [FIX] project: function field 'doc_count' is of type integer, not int, courtesy of Yanina Aular (Vauxoo)

9939. By Martin Trigaux (OpenERP)

[MERGE] [FIX] procurement: cancelling purchase order should trigger action_assign on the stock move to correctly handle linked picking

9940. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9941. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9942. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9943. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9944. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9945. By Martin Trigaux (OpenERP)

[FIX] sale: remove unnecessary write call changing state when creating invoice in 'Order Lines to Invoice' menu (opw 600073).

If sale order was with invoice based on delivery order mode, a done sale order would be put back to progress state.

9946. By Denis Ledoux (OpenERP)

[FIX] account_voucher: it is authorized to enter invoice with negative amount, therefore the check amount constraint must take that into account

9947. By Martin Trigaux (OpenERP)

[FIX] hr_payroll: when computing pyslip lines, avoid previous rules to corrupt result_rate info in localdict and other contracts

9948. By Olivier Dony (Odoo)

[FIX] account_report_company: missing index on `display_name`

9949. By Martin Trigaux (OpenERP)

[MERGE] [IMP] project: avoid showing closed projects when creating a new task (opw #605218)

9950. By Olivier Dony (Odoo)

[FIX] project,project_issue: missing indexes on stage/state/project_id/user_id

9951. By Olivier Dony (Odoo)

[FIX] crm.lead: missing index on stage_id/type/state

9952. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9953. By Christophe Simonis (OpenERP)

[FIX] share: at module init force re-generation of the user groups view without the shared groups

9954. By Christophe Simonis (OpenERP)

[FIX] share: move inheritance from res.user before the one from res.groups because res.groups need the change on res.users in its init() function.
[FIX] share: call parent init() if present in res.groups

9955. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9956. By Olivier Dony (Odoo)

[MERGE] stock,mrp: restore deactivated tests (backport from trunk), courtesy of Lionel Sausin (Numerigraphe)

9957. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9958. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9959. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9960. By Denis Ledoux (OpenERP)

[FIX] l10n_be: tax VAT-IN-V82-CAR-EXC-C1 should have as invoice and refund tax account the 'TVA non deductible' account

9961. By jke-openerp

[FIX] Purchase - Make type 'order' as default invoice method in 'Purchase Settings'. Purchase by default use 'order', once an user update a parameter in 'Purchase Setting' without changing the default type (which by default was set to manual and not to order) the behavior is changed

9962. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9963. By Denis Ledoux (OpenERP)

[FIX] account_invoice: print invoice report, pto missplaced around the whole report instead of just the invoice lines

9964. By Denis Ledoux (OpenERP)

[MERGE][FIX] sale: sale order report, pto in invoice template should not cover the whole document

Courtesy of Stefan Rijnhart (Therp)

9965. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9966. By Martin Trigaux (OpenERP)

[FIX] account_asset: copy should not keep history and move lines of previous asset

9967. By Martin Trigaux (OpenERP)

[FIX] analytic_user_function: add missing _rec_name

9968. By Denis Ledoux (OpenERP)

[FIX] pad: render_value binded on change effective_readonly event, so render value calls wait for each others

9969. By Denis Ledoux (OpenERP)

[FIX] pad: render_value binded on change effective_readonly event, so render value calls wait for each others

Proper fix than 9968 revid:<email address hidden>

9970. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9971. By Christophe Simonis (OpenERP)

[FIX] account: Chart Installer: new way to get apps server

9972. By Martin Trigaux (OpenERP)

[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

9973. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9974. By Olivier Dony (Odoo)

[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.

9975. By Denis Ledoux (OpenERP)

[FIX] 500 error on connection when using PyWebDAV 0.9.4
(and maybe others)

Courtesy of Holger Brunn (Therp)

9976. By Olivier Dony (Odoo)

[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.

9977. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9978. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9979. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9980. By Denis Ledoux (OpenERP)

[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'.

9981. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9982. By Denis Ledoux (OpenERP)

[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

9983. By Denis Ledoux (OpenERP)

[MERGE][FIX] account: while refuding the invoice with payment term journal items are created wrongly with write-off account

9984. By Denis Ledoux (OpenERP)

[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, ...)

9985. By Martin Trigaux (OpenERP)

[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.

9986. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9987. By Martin Trigaux (OpenERP)

[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.

9988. By Thibault Delavallée (OpenERP)

[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.

9989. By Thibault Delavallée (OpenERP)

[FIX] crm_helpdesk: when creating a new helpdesk category
it was not possible to re-use the category due to a missing object_id.

9990. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9991. By Denis Ledoux (OpenERP)

[FIX] note: folded by default was not considered

9992. By Denis Ledoux (OpenERP)

[FIX] account_analytics_plan: for bank statement move, the analytic distribution must not be written on the counterpart move line

9993. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9994. By Martin Trigaux (OpenERP)

[FIX] mail: correct missing comma in domain on mail.mail

9995. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9996. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9997. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9998. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9999. By Denis Ledoux (OpenERP)

[MERGE][FIX] stock: typos in inventory analysis wizard - opw 606933

10000. By Martin Trigaux (OpenERP)

[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 !

10001. By Martin Trigaux (OpenERP)

[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

10002. By Denis Ledoux (OpenERP)

[FIX] note: typo in manifest

10003. By Martin Trigaux (OpenERP)

[FIX] account: avoid tax on name search to execute request with empty journal (if context == {'journal_id': False}) (opw 606875)

10004. By Martin Trigaux (OpenERP)

[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

10005. By Denis Ledoux (OpenERP)

[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

10006. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10007. By Martin Trigaux (OpenERP)

[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)

10008. By Martin Trigaux (OpenERP)

[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.

10009. By Denis Ledoux (OpenERP)

[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

10010. By Martin Trigaux (OpenERP)

[MERGE] [FIX] stock: fix error when executing a read_group on stock.picking.in and out, courtesy of Yannick Vaucher (Camptocamp)

10011. By Martin Trigaux (OpenERP)

[FIX] stock: pass the geven limit attribute in read_group call, courtesy of Guewen Baconnier

10012. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10013. By Martin Trigaux (OpenERP)

[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

10014. By Denis Ledoux (OpenERP)

[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)

10015. By Martin Trigaux (OpenERP)

[FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet (opw 592632)

10016. By Denis Ledoux (OpenERP)

[FIX] product: price computation failed when for pricelists based on Cost price for non-employee users

10017. By Denis Ledoux (OpenERP)

[FIX] multi_company: set currency of OpenERP US to USD in the demo data

10018. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10019. By Martin Trigaux (OpenERP)

[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.

10020. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10021. By Anaël Closson (openerp)

[FIX] stock: destination location should not be limited to internal as this wizard is also used for incoming and outgoing pickings (opw 606213)

10022. By Martin Trigaux (OpenERP)

[MERGE] [FIX] mail: make the detection of Content-Type based on filename instead of only offering 'application/octet-stream'. This allows to have a better detection of the software to use by the browser. opw 606233

10023. By Martin Trigaux (OpenERP)

[FIX] stock: recompute the qty_available based on the location instead of using the one in the result of the browse (opw 606423)

The qty_available field is a function field that uses the information of the context (eg: location) to compute the value. Using the global browse record would return the same qty_available value for each location (and then produce way too many account.move)

10024. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10025. By Olivier Dony (Odoo)

[FIX] mail: avoid catching (transient) MemoryErrors when sending outgoing mail

This would permanently mark the mail as failed while
there is a good chance it will be sent properly next
time it is retried (provided the memory situation
improves or the server/worker has restarted).

10026. By Martin Trigaux (OpenERP)

[FIX] stock: when delivering a product in average cost, make sure the price_unit on the stock.move is up to date (opw 607272)

The price mentioned on the stock move from the delivery order is the one at the time of the sale order confirmation. On average price, the price can be different when the delivery is actually done. The price will then be refreshed with the one specified on the product.

10027. By Martin Trigaux (OpenERP)

[MERGE] [FIX] hr_timesheet_sheet: set default date to now when computing date in user's timezone, courtesy of Yannick Vaucher (Camptocamp)

eg: the sign-in/sign-out button on the employee do not provide date yet (value defined in _defaults) and it would broke the computation

10028. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10029. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10030. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10031. By Olivier Dony (Odoo)

[MERGE] mail: avoid resetting purposefully empty catchall domain setting, courtesy of Stefan Rijnhart (Therp)

10032. By Jacques-Etienne Baudoux

[FIX] mail: change copy call to copy_data to avoid resending email during duplication (opw 607295)

10033. By Martin Trigaux (OpenERP)

[MERGE] [FIX] hr: when duplicating an employee or user, do not duplicate the reference to other employees (opw 607313)

10034. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10035. By Denis Ledoux (OpenERP)

[FIX] auth_oauth: missing field body in formview

The body is the field used to actually display the 'log in with ...'
As not shown in the view, when adding a new provider, this field was empty and therefore wasnt visible on the login form...

10036. By Martin Trigaux (OpenERP)

[FIX] warning: make blocking warning actually doing something (opw 607380)

Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way to forbid creating a record that uses this partner/product but it is not possible to select it through the web interface.

10037. By Martin Trigaux (OpenERP)

[FIX] account: when creating partial reconcilation after unreconciliating one invoice, make sure we create this partial reconcilation only if we have at least two lines

10038. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10039. By Martin Trigaux (OpenERP)

[MERGE] [FIX] document_page: allow other users than administrator to create menu to a static page

Due to a global rule on ir.values (which is created when creating a ir.ui.menu), we need to execute the action as super user.

10040. By Martin Trigaux (OpenERP)

[FIX] hr_holidays: better display of leave counter (opw 605016)

The number of leave requests left is based on the employee_id key in the context, when displaying the status of an hr.holidays we don't have the information in the name_get of the hr.holidays.status.
The fallback on the number of employees is done with the uid but we can not rely on it as well as the name_get on m2o field is done with superuser_id.

10041. By Martin Trigaux (OpenERP)

[FIX] product: when duplicating a product, keep the language in the context

At the time of the context_wo_lang patch (7.0 revision 6577), the orm did not keep the language in copy_data, this patch intended to be more consistent.
Since server revision 5146 7.0, the new behaviour is to use the translated version in copy_data. Removign this change will be more consistent with the orm.

The expected behaviour is now the following:
In user lang: translated product name + translated '(copy)'
In other lang: same as original product

10042. By Martin Trigaux (OpenERP)

[FIX] analytic: should not set mutable objects in method declaration (python gotcha)

10043. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

10044. By Mohammed Shekha(Open ERP)

[FIX]Re-Fixed the issue of purchase requisition which gives traceback someone coverts purchase requisition to quotation without selecting warehouse.

Revision history for this message
Mohammed Shekha(Open ERP) (msh-openerp) wrote :

Hello,

I have refixed the issue as per suggestions.

Thanks.

review: Needs Resubmitting

Unmerged revisions

10044. By Mohammed Shekha(Open ERP)

[FIX]Re-Fixed the issue of purchase requisition which gives traceback someone coverts purchase requisition to quotation without selecting warehouse.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'purchase_requisition/purchase_requisition.py'
2--- purchase_requisition/purchase_requisition.py 2013-12-12 05:25:44 +0000
3+++ purchase_requisition/purchase_requisition.py 2014-05-13 10:11:21 +0000
4@@ -132,7 +132,11 @@
5 for requisition in self.browse(cr, uid, ids, context=context):
6 if supplier.id in filter(lambda x: x, [rfq.state <> 'cancel' and rfq.partner_id.id or None for rfq in requisition.purchase_ids]):
7 raise osv.except_osv(_('Warning!'), _('You have already one %s purchase order for this partner, you must cancel this purchase order to create a new quotation.') % rfq.state)
8- location_id = requisition.warehouse_id.lot_input_id.id
9+ if requisition.warehouse_id:
10+ requisition.warehouse_id and requisition.warehouse_id.lot_input_id.id
11+ else:
12+ lot_input_stock = self.pool.get('ir.model.data').get_object(cr, uid, 'stock', 'stock_location_stock')
13+ location_id = lot_input_stock and lot_input_stock.id
14 purchase_id = purchase_order.create(cr, uid, {
15 'origin': requisition.name,
16 'partner_id': supplier.id,