Commit Graph
99161 Commits
Author SHA1 Message Date
Odoo Translation Bot d9e8c3ade4 [I18N] Update translation terms from Transifex 2015-06-08 17:22:46 +02:00
Richard Mathot 049f27fd74 [REV] d601e213efeb48f60273d3a9fa0592133c4177b6
Reverts "[IMP] base,base_vat: VAT validation and Company Registry usability"
2015-06-08 15:52:05 +02:00
Olivier Dony b173e8ee60 [FIX] account: forward-port indentation error for commit a475a2721a 2015-06-08 15:37:53 +02:00
Hitesh Trivedi 24e941e9c4 [CLEAN] stock_picking_wave: clean message subtype
xml_id + clean track_subtype method.

The code has been introduced in commit 5e45084f1a.
This commit is just a small cleaning.
2015-06-08 15:35:11 +02:00
fka-odoo 7d2982f6f6 [IMP] base,base_vat: VAT validation and Company Registry usability 2015-06-08 15:52:05 +02:00
Ravi Gadhia 263d869b07 [REM] get rid of unused attribute 'nodestroy' 2015-06-08 15:25:29 +02:00
Gaurav Panchal bb6f9797a2 [IMP]hr_attendance: change field string, add tooltip on field and change description on attendance error wizard 2015-06-08 15:19:00 +02:00
Odoo Translation Bot e2c9699cfc [I18N] Update translation terms from Transifex 2015-06-08 14:03:50 +02:00
Pankaj Joshi 98d0e3cc4b [IMP] updated icon classes which are renamed in font-awesome v4.2 and removed useless icon-* classes of old font-awesome 2015-06-08 12:52:29 +02:00
Mitesh Savani 1395a9d5fe [IMP] point_of_sale: take discounts in account in total price and display subtotal before discount 2015-06-08 11:35:38 +02:00
Wolfgang Taferner 2f5d681135 [FIX] product_extended: cost price computation from BOM
having lines with products using a different UOM for
sales and purchases

If a product does have a (different) purchase uom, we should first
take it as a base for calculating prices as the standard price relates
to it and not the sale (normal) uom.

Closes #6829
opw-640616
2015-06-08 11:13:05 +02:00
steveferry 852b1f17ea [IMP] doc: list of linux -dev dependencies incomplete
I had to install libldap2-dev because of this error: lber.h no such file
or directory.  After this package's installation, the requirements
installation works with no errors.  So I guess it's needed too.

closes #6971
2015-06-08 08:30:03 +02:00
Alexis de Lattre 96135fa785 [FIX] http: correct authentication via JSON-RPC.
Since 31d817e, we rotate then session at login/logout.
Unfortunatly, `openerpframework.js` does not support session id change
at authentication and keep old one.

In order to keep compatibility with existing js clients (including 7.0
ones), we do not rotate the session at authentication.

Fixes #6948
Closes #6949
2015-06-05 12:38:39 +02:00
Julien Legros 78a3ee0b73 [FIX] mail: date fields tracking 2015-06-04 14:08:48 +02:00
Jean-Baptiste Quenot 3d35a5d42b [FIX] mail: Strip In-Reply-To header
For emails sent via Office 365, reply-to header could contains additional spaces
or get multiline header.
e.g.:
In-Reply-To:
	<4ba8f246904b4fedb49fbab7945a7f82@AM3PR06MB433.eurprd06.prod.outl$$k.com>

The message lookup fails if header is not stripped
2015-06-03 19:12:12 +02:00
SauliusZ 2948ed954b [FIX[ base: Currencies changed for Latvia and Lithuania
Latvia changed its currency to Euro from 2014 and Lithuania from 2015. It is not
possible to buy in old currencies anymore.
2015-06-03 19:03:45 +02:00
Lionel Sausin 08fabb1d64 [FIX] product: Don't force arbitrary precision on weights
The product view forces the decimal accuracy to 3 digits on weight and
weight_net, but the accuracy can actually be set using the 'Decimal Acuracy'
feature so it must not be forced here.
2015-06-03 17:49:04 +02:00
Denis Ledoux 66e836c28c [FIX] purchase: purchase_ok is already available in the view
`purchase_ok` is already in the view,
This field is already set in the view
`product.product_template_form_view`
and `account.product_template_form_view` inherits from this view.

Setting twice a field in a view prevents to correctly change
the field.

opw-641485
2015-06-03 13:11:29 +02:00
Denis Ledoux f0b0742847 [FIX] account: default values of payments (customer/supplier)
In `account.abstract.payment` model,
The `partner_type` and `payment_type` fields had set as default
`supplier` and `outbound`, respectively.

The thing is, the `default_get` method of model `account.payment`
(inheriting on the above model), will keep these default values set,
even if the invoice is customer invoice, which is wrong.

Either, this `default_get` should ignore the current default values,
either, the default values should not be wrong in the first place.

In this revision, I choose the second solution. Therefore, I had
to add the default value `outbound` in the purchase payments
menu action.

opw-641441
2015-06-03 11:13:03 +02:00
Denis Ledoux 62876b09f9 [FIX] account: account_balance of journals having debit/credit accounts not set
`default_debit_account_id` and `default_credit_account_id`
are not required.
The code computing the journal account balance should not
rely on the fact it is.

opw-641433
2015-06-03 11:13:03 +02:00
Denis Ledoux 1159a9c354 [FIX] stock: stock properties fields in partner form
group `container_row_communication` is within the view
`view_emails_partner_info_form`.

This view should be used for the inheritance.

opw-641433
2015-06-03 11:13:03 +02:00
Christophe Simonis 3cc8015aea [FIX] account_asset: use new js framework variables. 2015-06-03 09:15:13 +02:00
Denis Ledoux 815f91b951 [FIX] google_calendar: remove event in google while being only attendee
If User A created an event In Odoo, inviting User B,
Then, if User A sync his calendar with Google,
user B have an invitation to this event in Google,
if user B refuses the event AND remove it from his Google calendar
and then syncs his calendar to Odoo,
the event was removed from the Odoo calendar, of all attendees.

opw-641356
2015-06-02 15:04:00 +02:00
Yannick Vaucher 37f3d08c18 [IMP] Add a way to bypass check on dropshipping with both invoice policies on delivery. This improve #6824 as it procures no way to implement the missed feature and bypass the check. 2015-06-02 13:46:04 +02:00
Goffin Simon eabf7df5f9 [FIX] website_event: format event periode
The format period defined by the start_date and end_date of an event
can be set according to the language.

opw:640011
2015-06-02 10:42:46 +02:00
Arthur Maniet 3b9367cbbe [FIX] account payment: when registering a payment from an invoice, set default values from the invoice 2015-06-02 08:35:18 +02:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Denis Ledoux a9e3d74713 [FIX] google_calendar: event duplication during sync to google
With User A <a@gmail.com> and user B <b@gmail.com> both syncing
their calendar with Google.
If User a created an event X, adding as attendee himself and user B,
and then synced his calendar to Google, a new event was
created in User B Google Agenda automatically, representing the
invitation.
At this stage, X appears only once, in the four calendars
(Odoo cal for A, Odoo cal for B, Google Cal for A, Google Cal for B)

If user B then synced his calendar to Odoo, the event X was
duplicated in three of the calendars (Odoo cal for A and B, Google cal for B)

If then user A synced again his calendar with Google, the event X
was duplicated in the four calendars.

From then, a duplicate loop began, at each sync of the both user calendars.

opw-639419
2015-06-01 18:14:50 +02:00
Nicolas Martinelli e26bfd9d13 [FIX] hr_payroll: add copy=True to worked_days_line_ids
Method refund_sheet relies on the fact that on 7.0, copy=True was the default
behavior for one2many fields.

Bonus: remove the call to compute_sheet since that what is done by
self.signal_workflow(cr, uid, [id_copy], 'hr_verify_sheet')

opw-640348
2015-06-01 16:16:35 +02:00
Nicolas Lempereur 69f87cd34c [FIX] account: get uom at account invoice creation
For commit c63230d0d if there is no uom, it should not fail.

closes #6920
2015-06-01 16:03:46 +02:00
Nicolas Lempereur c63230d0d0 [FIX] account: force uom from product category
When we change a product line of an account invoice, a current unit with
a invalid unit category was not dropped which should be since:

- it is different from a sale.order,,
- there is a domain on the unit of measure only allowing units from the product's unit category.

This fixes drop the current unit of mesure in this case.

opw-640985
2015-06-01 15:27:58 +02:00
Nicolas Lempereur c3464e958e [FIX] membership: free_member get free when paid is dropped
When a paid membership is finished, a free_member partner should get a
free membership_state.

related to opw-640440
2015-06-01 14:54:12 +02:00
Julien Legros 3c18b92d8d [FIX] point_of_sale: don't use deprecated globals 2015-06-01 14:04:54 +02:00
Goffin Simon 6792376f39 [FIX] hr_applicant_document: resume and letters
When an ir.attachment is created from the ir.action.window "Resumes and Letters"
then the res.model must be set by default with 'hr.applicant'.

opw:641070
2015-06-01 13:36:09 +02:00
Nicolas Martinelli 9ce57d55e7 [FIX] purchase: add a trigger to minimum_date_planned
This triggers allows the minimum_date_planned to be calculated when PO are
merged.

opw-640541
2015-06-01 11:22:23 +02:00
Jeremy Kersten daa69fb838 [FIX] http: avoid that request.not_found crash
return request.not_found crash with a internal error, because get_response
takes a environment as param.

Werkzeug Documentation:
Keep in mind that you have to pass an environment to get_response() because
some errors fetch additional information from the WSGI environment.
2015-06-01 10:30:16 +02:00
Goffin Simon 7f8cd01431 [FIX] product: Product field
"product.product" model inherits from "product.template"  model then
all the float fields in "product.product" include those from "product.template".
A list is used to conserve the order of the fields.

Fixes #2067
opw:639766
2015-06-01 09:11:22 +02:00
Arthur Maniet e4bb1ebd82 [ADD] accounting dashboard: shortcuts for check printing and SEPA credit transfers 2015-05-31 19:14:54 +02:00
Arthur Maniet fbb8400f96 [FIX] account: OFX import test 2015-05-31 17:42:22 +02:00
Arthur Maniet 1b05d9dfba Revert "[FIX] Use unique accounts and improved bank search in base."
This reverts commit b3a9422187a484f09d224dcb1f2cd9687fee0142.

Many ORM tests rely on res.partner.bank, making it cumbersome to change.
2015-05-31 17:11:32 +02:00
Arthur Maniet 2d9569cc18 [FIX] account: bank statement import
- use a wizard to ask about creating a new bank account + journal
- fix 'Import Statement' action from the dashboard
- make l10n_be_coda new-api-compliant
2015-05-31 16:20:15 +02:00
Laurent Mignon cc5a2e44a8 [FIX] Use unique accounts and improved bank search in base.
Courtesy of lmignon (acsone)
2015-05-31 17:11:32 +02:00
Arthur Maniet 9919707e31 [REF] account check printing: when using pre-numbered check paper, ask user for the number of the next pre-printed check upon printing so that payments can be attributed the number of the check they are printed on.
And while at it, [FIX] some broken icons (SEPA and checks).
2015-05-31 12:47:34 +02:00
Jeremy Kersten 1bc328317a [FIX] website: display 'Show Sign In' option
Commit 4ff1af4 moves the groups attributes on the ir ui view/template.
So the option is no more available in customize menu if user is logged.
No luck, because when your are not logged you don't have the menu.

Groups on template are the best practice to hide the content of a view
to a group of poeple, except in this case where a customize_show is set
to True.

Maybe that customize_show should ignore groups on ir ui view in a future
version ?
2015-05-30 16:00:28 +02:00
Martin Trigaux 7def86fcc7 [I18N] spring cleaning of untranslated languages
Remove languages that were not translated fro, the list of installable languages.
Installing languages with no translations (en_CA) has no effect and having a too
long list is misleading. Sorry Klingon.

Adding languages that were translated but not installable (fr_CA, en_AU)
2015-05-29 23:40:40 +02:00
Martin Trigaux 4528ccf148 [I18N] First sync of translations from Transifex
Translation is that which transforms everything so that nothing changes.
 -- Grass Günter
2015-05-29 21:58:20 +02:00
Martin Trigaux 409ca3e009 [I18N] Update translations from Transifex
Now I am become Death, the destroyer of worlds
2015-05-29 18:28:10 +02:00
Goffin Simon 50182d0dfe [FIX] website_event: month in local events
The month inside the local events snippet must be in the user language.
Inspired from def _read_group_format_result in models.py

opw:640011
2015-05-29 16:56:14 +02:00
Joren Van Onder cf8b61c3c6 [FIX] barcode_events: set parent to WebClient during creation 2015-05-29 16:29:47 +02:00
Joren Van Onder 1323316ef2 [IMP] barcode_events: dedicated variables to customize barcode detection 2015-05-29 16:29:46 +02:00