Commit Graph

57852 Commits

Author SHA1 Message Date
Yogesh Parekh ac5a0b046b [IMP]: Improve copy method to set stage_id in draft stage 2014-06-24 19:05:46 +05:30
Denis Ledoux e2201369a3 [FIX] web: format.js, toString while parsing date
When attempting to parse client date, value is not always a string.
We force the toString when adding the leading 0, as the replace method is for string
2014-06-24 13:53:02 +02:00
Martin Trigaux 90deaf386a Merge pull request #650 from yvaucher/patch-1
[7.0] sale_stock: field sale_id should be on stock.picking.out view
2014-06-24 13:49:50 +02:00
Denis Ledoux 7d3453d119 [FIX] purchase_requisition: broken procurement wkf
If a purchase requisition is created instead of a purchase order for a procurement order, the method make_po should not return the id of this requisition, as methods calling the make_po method expects ids of purchase orders, not purchase requisition ids.

Besides, on purchase requisition done or cancel, we set the procurement order accordingly, without the use of the workflow. We consider this as crappy, the proper fix should be the use of a dedicated workflow for purchase requisition, but I cannot be done in stable branches. This aims trunk/master.
2014-06-24 12:12:27 +02:00
Jos De Graeve b86e0a4392 [FIX] Partner VAT Intra XML delaration: Vat number format correction
The Partner VAT Intra XML delaration needs to have the VAT number
in the format without the country code prefix.

The current behaviour was to include the country code prefix in the
report which causes an SQLException error on uploading the XML file
to the Federal goverment's website.  While the error is non-descriptive
fixing the VAT number format fixes the error.
2014-06-23 18:18:42 +02:00
Martin Trigaux f9ce9a00d0 Merge pull request #17 from savoirfairelinux/7.0-m2m-context
[FIX] view_list: Add context propagation for m2m list view

If the _rec_name field of a model is translatable, the value was not translated when displayed in a list view through a many2many field (e.g. server_action_ids on base.action.rule).
2014-06-23 17:41:03 +02:00
Jacques-Etienne Baudoux 7e85786b83 web: do not select the first result if click on search more
When searching for a record in a m2o field, if we click on 'search more' we loose the focus on the field and select the first suggestion (which triggers potential on_change). This prevents the selection for this case.
2014-06-20 17:41:09 +02:00
Richard Mathot 866dff79df [REM] Old .bzrignore file 2014-06-20 14:21:32 +02:00
Martin Trigaux bccd75796e [IMP] web: allow fields in list view to use the attrs readonly to dynamically show and hide the fields 2014-06-20 14:11:21 +02:00
Martin Trigaux e5533d0c14 Merge pull request #654 from nel-odoo/patch-3
Production : Use the source location of the MO instead of the one of the BOM
2014-06-19 15:16:01 +02:00
Denis Ledoux 893e4aae9f [FIX] web: focused field in view editable list
When adding an item to the editable list, the focused field was no longer the first visible field
This is related to revision 4a508885ac
visible_columns list is not ordered
2014-06-19 14:58:44 +02:00
Najlaâ El Khayat e7285c6e1d Production : Source location of the BOM
Use the source location defined on the current MO's routing not directly on the BOM
2014-06-19 14:51:32 +02:00
Yannick Vaucher 2542992c24 Fix sale_id on stock.picking.out view
View inheritance is on the wrong model after model change of stock.picking.
Here we just fix the model.
2014-06-19 14:10:24 +02:00
Géry Debongnie 3d43f9d454 [FIX] fixes searchbar navigation (web client)
the code handling the keydown events was moved, but the variable this
was not adjusted accordingly, resulting in a broken navigation.

It is now possible to press LEFT and RIGHT again to move the focus
between facets.
2014-06-19 12:43:25 +02:00
dhr-odoo db40033a39 Removed widge=selection from account_id field in line in Purchase Receipt, as it only displays limited records(100) from the limit set in the name_search 2014-06-19 09:01:17 +02:00
Martin Trigaux 59b9452bd6 Merge pull request #616 from odoo-dev/7.0-opw-608485-rgo
[FIX] l10n_be_invoice_bba: random generation do not use sequence, so should be 10 char long during padding
2014-06-18 17:45:19 +02:00
Olivier Dony f29ff5ef70 [FIX] auth_crypt: encrypt all passwords at installation
When `base_crypt` was updated for v7, the auto-encryption
at installation was dropped, with user passwords only
encrypted on-demand whenever the user would connect.

It is important to encrypt all passwords immediately to
prevent password compromission for user who do not
login often or even for deactivated users who are not
allowed to login anymore.

Fixes https://bugs.launchpad.net/openobject-addons/+bug/1280152

Based on LP merge proposal by Nicolas Bessi (Camptocamp):
https://code.launchpad.net/~camptocamp/openobject-addons/improve_auth_crypt_3_please_launchpad_work-nbi/+merge/206476
2014-06-18 15:32:06 +02:00
Ravi Gohil d1e9633c46 [FIX] l10n_be_invoice_bba: Fixed the length of random generated code to ensure it generates 10 digit code so that it allows validation of invoice. (Maintenance Case: 608485) 2014-06-18 15:49:38 +05:30
Denis Ledoux 86b80cf95e [FIX] web: allow using dates and datetimes without leading zeros 2014-06-18 11:12:27 +02:00
Denis Ledoux a32e989fba [FIX] web: save date(time) field value on key enter in editable list
In editable list, on keypress enter, the _next method is called, saving the current line and starting the edition of the next one
The _next is triggered before the date(time) field change event, and, therefore, the saved value of the date(time) field is the old one
2014-06-17 12:56:13 +02:00
Denis Ledoux 63ea0df73f [FIX] account: default domain on journal_id field for invoices
Prior to this fix, the domain was set in the onchange methods onchange_company_id. Therefore, if the onchange was not triggered, the domain wasnt apply (e.g. while editing an existing invoice).
2014-06-16 16:55:58 +02:00
Martin Trigaux 390c811db8 [FIX] event: improve name from previous merge 2014-06-13 12:03:48 +02:00
Martin Trigaux e6e61298b1 Merge pull request #111 from odoo-dev/7.0-bug_1287200-ptr
[FIX] event: change the field nbevent to make sense

The field nbevent was representing the number of registration with value of 1 for events without registrations (which makes no business sense). Fix to actually represent the number of registrations and display a better field name.
2014-06-13 11:33:13 +02:00
Martin Trigaux 80b8dcdbfa Merge pull request #336 from odoo-dev/7.0-opw-608606-fka
[FIX] account_report_company: display_name field is not computed for non-active partners
2014-06-13 11:09:26 +02:00
Martin Trigaux 427d57c33a Merge pull request #471 from odoo-dev/7.0-opw-606994-rgo
[MERGE] mail: Speed improvement, backport of rev ed116d6b6b
2014-06-13 10:19:22 +02:00
Thibault Delavallée 2f43cf041d [FIX] hr_holidays: date_from, date_to required in form view only for leave requests, not for allocation requests 2014-06-13 09:25:48 +02:00
Thibault Delavallée f9fc9fdf1c [FIX] hr: working and home adresses should not be customers by default, only 'normal' adresses. 2014-06-13 09:07:28 +02:00
Thibault Delavallée 4e0559ef97 [FIX] hr_holidays: display float for leaves remaining / leaves taken in holiday type name get 2014-06-13 08:52:25 +02:00
Denis Ledoux 4a508885ac [FIX] web: view_list_editable, on add an item, focus on the first cell of new row
Before, the focus was set on the first row, and, thererefore, if the list was enough long, it jumped out and the actual new row was hidden
2014-06-12 20:03:50 +02:00
Thibault Delavallée 28ff7e38b9 [FIX] portal: typos in portal wall actions. 2014-06-12 17:35:41 +02:00
Thibault Delavallée e95545dcf0 [FIX] hr: typo in a field definition 2014-06-12 17:32:32 +02:00
Martin Trigaux 0b4921e4d6 parse_value: interger != float
Wwhen parsing a integer field, do not accept float values. '1' or '1.0' is ok but not '1.1'. (opw 608544)
2014-06-12 13:48:41 +02:00
Denis Ledoux 4d3a5df001 [FIX] sale_order: set state field track_visibility
sale_order module override state field of sale.oder (sale.sale.py) and forgot to reset the track_visibility, therefore sale orders state changes are no longer tracked once this module installed.
2014-06-12 12:37:11 +02:00
Olivier Dony 5ccfeaaeda [FIX] base_action_rule: automatic commit during background processing of rules
This will make sure already processed rules are persisted
in case a timeout occurs while processing the next ones,
ensuring that *some* progress can be made in most cases.
2014-06-11 18:42:18 +02:00
Olivier Dony cf0be50f04 [FIX] base_action_rule: prevent recursive rule trigger also when processing time-based rules
A safety guard already in place prevents the recursive
trigger of rules while another rule is being executed,
as a simple measure to prevent endless loops.
This guard was missing when processing time-based rules.
2014-06-11 18:42:18 +02:00
Olivier Dony d4356263f2 [FIX] base_action_rule: do not repeatedly trigger already-executed rules based on time condition
A programming error introduced at rco@openerp.com-20121220142445-emzzvhlw400q37c9
fails to properly check when a rule has already been executed in the past.
Time-based rules should only be executed if the trigger date is in the past and:
 - either they never executed before
 - or the last execution date is older than the trigger date
2014-06-11 18:42:18 +02:00
Olivier Dony ff8b843b18 [FIX] base_action_rule: do not force registry reload when writing on a rule unless really needed
Executing a rule always updates the `last_run` value, which would
always force a useless registry reload to occur. Only signal the
change if the rule applies to a model that was not previoulsy
monitored for base action rules.
2014-06-11 18:42:18 +02:00
odony 5d77de54e5 Merge pull request #417 from gurneyalex/7.0-fix_1311004_account_move_line_index-afe
[IMP] account.move.line: extra index on (date, id) corresponding to the default _order, courtesy of @gurneyalex.

 Fixes https://bugs.launchpad.net/openobject-addons/+bug/1311004
2014-06-11 16:41:29 +02:00
Martin Trigaux 67d127de83 Merge pull request #413 from gurneyalex/7.0-fix_lp1025703-afe
[FIX] delivery: add missing information in chained pickings
2014-06-11 15:22:47 +02:00
Martin Trigaux 882ebbbd40 Merge pull request #411 from acsone/lp-1200611_lga
[FIX] hr_timesheet_sheet: correctly set the employee on the attendance
2014-06-11 15:13:06 +02:00
Martin Trigaux b38a129d71 [FIX] account: move translatable tag
The field note on account.fiscal.position and account.fiscal.position.template should not be translatable in classic modules.
The l10n_multilang module is intendend to make chart of accounts multilang and is the place to set translate=True
2014-06-11 14:53:59 +02:00
Martin Trigaux 505b31a2b3 Merge pull request #415 from gurneyalex/7.0-fix_lp1192115-595240-opw-skh
[FIX] delivery: do not remove the delivery method on the sale.order when adding it as an order line (useful information)
2014-06-10 16:02:10 +02:00
Martin Trigaux fdd00fe635 [FIX] account_voucher: better pay invoice wizard
If the writeoff_amount is above 0, the fields writeoff_acc_id can be displayed and is required depending of the payment option. If the writeoff_amount is reset to 0, this field should no longer be required.
2014-06-10 13:41:27 +02:00
Martin Trigaux 6fdb783a37 Merge pull request #56 from yvaucher/7.0-fix-1319109
[FIX] report_webkit: avoid sharing parser instance globally and make it thread safe
2014-06-10 09:38:48 +02:00
Ravi Gohil 8796e07afc [FIX] mail: Speep improvement when sending email using 'Send by Email' wizard. (Maintenance Case: 606994) 2014-06-09 18:20:02 +05:30
Alexandre Fayolle 0ceee2a120 [IMP] add an index on account_move_line(date, id)
fixes https://launchpad.net/bugs/1311004
2014-06-06 14:47:33 +02:00
Somesh Khare(OpenERP) 81a3a4fcbb [FIX]Delivery: carrier information not propagated from sale order to pickings (Case: ref 595240)
closes lp:1192115
2014-06-06 14:34:23 +02:00
Alexandre Fayolle ac117ac220 [FIX] delivery: propagate additional fields in chained pickings
closes #367
2014-06-06 14:18:37 +02:00
Laetitia Gangloff 905617b530 hr_timesheet_sheet: for attendance, set default value for employee_id in the context 2014-06-06 12:55:22 +02:00
Martin Trigaux 81ae6cdeeb [IMP] stock: when checking the state of the product, do not recompute the quantity on every move but only the one currently browsing (optiomisation) 2014-06-05 18:38:19 +02:00
Denis Ledoux 7129ec957a [FIX] document_page: allow other users than administrator to create menu to a static page
User should be at least have Configuration settings group to be allowed to create actions. Basic document page users do not have this rights, therefore we temporary give superuser_id to create the action

This is related to rev 133c5033a0
2014-06-05 15:53:28 +02:00
Holger Brunn d66c96ffa9 [FIX] project_timesheet: don't trigger write if there is nothing to write
Triggering an empty write could break constraint (can not update past timesheet) (opw 606963)
2014-06-05 15:44:18 +02:00
Christophe Simonis ab9ac783db [FIX] web: many2many field handle "no_create" option 2014-06-05 13:46:53 +02:00
Martin Trigaux 25292ef0a5 [FIX] point_of_sale: correct call to default value
The default value should be called with a lambda otherwise the payment_date is set to the date the server was started (opw 606715)
2014-06-04 15:19:57 +02:00
Martin Trigaux 7b31b082a1 [FIX] kanban: avoid wrong placement of button on ie9
On ie9, the 'read more' button in kanban view was placed in the middle of the window instead of the bottom
2014-06-04 15:06:53 +02:00
Martin Trigaux 841e47a46a [FIX] stock: use correct vals in grouped invoice (opw 606535)
When creating a grouped invoice, the invoice_vals value is used to create the invoice line.
The value was not reset for grouped invoice and we reused the values of previous line.
2014-06-04 10:42:43 +02:00
Martin Trigaux 0c4bc1cf72 [FIX] sale: keep customer reference in grouped invoice (opw 606523) 2014-06-03 17:15:08 +02:00
Denis Ledoux 7a157dd35e [FIX] delivery: allow to add delivery method in quotation if quotation in quotation sent stage
opw-607920
2014-06-03 17:12:07 +02:00
fka-odoo 74eb662420 [FIX] display_name is not compute for non-active partner 2014-06-03 19:04:07 +05:30
Martin Trigaux 6e5bef9bd2 [FIX] calendar: avoid double popup, opw 606297
Some browsers (e.g. chrome) trigger onEmptyClick as well as
onBeforeLightbox during drag&drop which calls two slow_create
calls (and two popups). Workaround to kill the second one.
2014-06-02 18:22:06 +02:00
Martin Trigaux 530d8bf3ce Merge pull request #286 from jbq/bugfix
[FIX] mail: detection of MIME type

When parsing the mail headers, the content-type may has a 'type' attribute for Multipart/Related  objects (rfc2387).
Previous check would match on attached files of type text instead of real `content-type: text/`.
2014-06-02 18:10:36 +02:00
Jean-Baptiste Quenot 310ecb0d60 Fix detection of MIME type in message_parse()
Be careful, content-type may contain tricky content like in the
following example so test the MIME type with startswith()

Content-Type: multipart/related;
  boundary="_004_3f1e4da175f349248b8d43cdeb9866f1AMSPR06MB343eurprd06pro_";
  type="text/html"
2014-06-02 11:48:30 +02:00
Denis Ledoux 65d7cc524d [FIX] purchase: Do not allow to delete a purchase order line which is validated
This restriction behavior copied from the sale.order model
Moreover, the purchase.order lines state were not set to cancel when the purchase order was cancelled.
This is now the case, this behavior is also coped from the sale.order model
When the purchase order is reset to draft, we also reset the order lines state to draft
2014-05-28 18:00:11 +02:00
Martin Trigaux 41c5ceb8eb [FIX] stock: clean previous commit 2014-05-27 17:56:30 +02:00
Martin Trigaux 1ef2c18103 [FIX] stock: auto_validate move not set to done when multiple parent move set to done at the same time (opw 607970) 2014-05-27 17:47:28 +02:00
Martin Trigaux aeaa826d2f Merge pull request #221 from odoo-dev/7.0-o2m-duplication-issue-msh
[FIX] Fix o2m record duplication when clicking on a button

The button action will execute a write call, creating the new line.
The reload is necessary to avoid recreating the line when using the save button.
2014-05-27 16:37:10 +02:00
Mohammed Shekha 26cb208903 [FIX]Refixed the issue of o2m record duplication 2014-05-27 19:35:09 +05:30
Martin Trigaux 14c300bdbd Merge pull request #223 from odoo-dev/7.0-ail-form-context-parent-mat
account: safer access to parent in invoice line form
2014-05-27 10:32:53 +02:00
Denis Ledoux c6c8fb06a9 [FIX] account_followup: account_followup_print report, sxw according to rml 2014-05-27 10:29:12 +02:00
Martin Trigaux 222e7915a6 [FIX] account: safer access to parent in invoice line form
In the account.invoice.line form, do not assume the parent is defined when
evaluating the context to invoice_line_tax_id as we could come from another
view (e.g.: purchase order line form).
Fixes #206
2014-05-27 10:16:44 +02:00
Mohammed Shekha 477fa85e55 [FIX]Fixe the issue o2m record duplication. 2014-05-27 10:10:06 +05:30
Martin Trigaux 8b546d20ad Merge pull request #203 from buke/7.0
[FIX] delivery: when computing the weight and volume, use the quantity converted to the product uom instead of the uom of the purchase order.
2014-05-26 17:07:14 +02:00
JoshuaJan e6973e2c64 'invoiced' fields help message is wrong 2014-05-26 17:55:26 +08:00
Denis Ledoux fa5cfcd67e [FIX] hr_recruitment: default company set according to department company 2014-05-26 11:20:40 +02:00
buke 1971141dc5 Fixed delivery grid get_price
It's wrong for cal weight in delivery gird . It's use product.weight * qty.
2014-05-26 17:12:38 +08:00
Denis Ledoux c59427d23f [FIX] purchase: po email template, the currency could be different than the pricelist currency 2014-05-23 17:13:42 +02:00
Martin Trigaux 4c36ee0b59 Restore missed images during bzr to git transition 2014-05-23 10:11:25 +02:00
Olivier Dony 02035b27b8 [RESTORE] Restore *.sxw files, skipped during bzr-to-git conversion to discard older binary blobs 2014-05-22 14:07:15 +02:00
Martin Trigaux 1ae8c980c3 Merge pull request #55 from yvaucher/7.0-fix-1319095
report_webkit: use safer and non-deprecated methods to handle temporary files
2014-05-22 12:05:05 +02:00
Anaël Closson f96a03247b [FIX] stock: auto_validate move not set to done when multiple parent move set to done at the same time - opw 607970 2014-05-22 09:26:40 +02:00
Martin Trigaux 91d61212e1 Merge pull request #14 from savoirfairelinux/7.0-crossovered_unicode_1292245
[FIX] Fix account_budget name unicode error (7.0 lp:1292245)
2014-05-21 16:51:34 +02:00
Martin Trigaux abe5c803a0 [IMP] account: support for partial reconciliation in aged partner balance
When computing the aged partner balance, the partial reconciliation was not
handled correctly. The reconciled amount should be removed from the original
remaining amount instead of displaying two entries in the journal.
eg: if invocie of 1000 in period 1 and payment of 300 in period 2, should only
display +700 in period 1 instead of two entries
2014-05-21 15:48:35 +02:00
Pariket Trivedi ff4fe2c05e [FIX]: change correct label and fields in Event Analysis. 2014-05-21 16:34:34 +05:30
Martin Trigaux d88ecfa970 [FIX] sale: in paypal, the encoding of the url should be done with werkzeug instead of urllib for better handeling of unicode (opw 607866) 2014-05-20 10:16:17 +02:00
Denis Ledoux a8a085eabb [FIX] point_of_sale: opw-607551, mark the pos order as paid before trying to create the picking, so in case the picking could not be created for one reason or another, the pos order workflow process continue.
This commit partially reverts rev. 6036 revid:fp@tinyerp.com-20111219220053-tn5gc1lmc13fjpyf, the second part of this commit already has been revert in a previous revision.
2014-05-19 15:33:39 +02:00
Martin Trigaux de802a9c1a [FIX] auditrail: fix read rules to record the current state (opw 606956) 2014-05-19 15:13:07 +02:00
Dharti Ratani (Open ERP) 428e292300 [IMP]Improved as per the comment 2014-05-19 17:39:24 +05:30
Denis Ledoux 571e23f3d5 [FIX] marketing_campaign: server actions always return None or False, and the return value of method _process_wi_action should return True whatever what the server action returns
If the server actions returned None instead of False, the next activity was not triggered, while it should
2014-05-19 12:30:20 +02:00
Launchpad Translations on behalf of openerp c2584c8cb0 Launchpad automatic translations update. 2014-05-18 05:53:48 +00:00
Launchpad Translations on behalf of openerp 6ab0f645bc Launchpad automatic translations update. 2014-05-17 07:10:37 +00:00
Sandy Carter 3594dc56da [FIX] Add context propagation for m2m list view
Fix bug https://bugs.launchpad.net/openerp-web/+bug/1279885 :
    Many2many fields in Tree views will not get translated.
    If you check the context for a name_get of a m2m field, it is passed as
    None.

Add context propagation to m2m fields in list views.
Fix translation issues when viewing a a many2many field in a Tree view.
2014-05-16 17:42:20 -04:00
Sandy Carter 5597c25acf [FIX] Fix account_budget name unicode error
Fix bug https://bugs.launchpad.net/openobject-addons/+bug/1292245:
    Invoice budget's warning when crossovered budget lines are not related
    to any account will cause a UnicodeEncodeError if the account has
    unicode-only characters such as é.

Make sure that the budget name is a unicode to avoid UnicodeEncodeError
which happens when budget name contains UTF-8 characters.

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-05-16 16:46:39 -04:00
Martin Trigaux 0fb14cbe0a [FIX] point_of_sale: add product variant in the displayed name (opw 607456) 2014-05-16 14:06:17 +02:00
Denis Ledoux 97fd0d8ed8 [FIX] auth_oauth: Replace OpenERP.com provider by Odoo.com provider 2014-05-16 13:01:34 +02:00
Launchpad Translations on behalf of openerp e813067041 Launchpad automatic translations update. 2014-05-16 06:43:51 +00:00
Launchpad Translations on behalf of openerp 10db161454 Launchpad automatic translations update. 2014-05-15 06:10:52 +00:00
Yannick Vaucher 4ed343455c Fix incompatibility with Windows using tempfile. 2014-05-14 13:22:42 +02:00
Martin Trigaux 29565d96fe [MERGE] [FIX] account: when computing a tax with include_base_amount enabled, include the child tax amounts into the sum for the next tax 2014-05-14 13:02:01 +02:00
Yannick Vaucher e367a54640 fix indentation 2014-05-14 11:50:27 +02:00
Launchpad Translations on behalf of openerp 0159a72661 Launchpad automatic translations update. 2014-05-14 06:20:49 +00:00
Yannick Vaucher 72ab3e81a5 Make report_webkit thread safe by removing parser_instance attribute, as a WebkitParser instance can be shared by multiple thread and thus we don't want a thread to erase parser_instance of anorther thread. 2014-05-13 18:23:48 +02:00
Yannick Vaucher 494f1686c3 Use NamedTemporaryFile instead of file and of deprecated mktemp. That way we ensure 2 files created at the exact same time will have a unique name 2014-05-13 17:56:10 +02:00
Martin Trigaux 7dbfcede36 [FIX] sale_stock: when checkign the available quantity, do not include uom as it is already present in the context and will be included in the computation of product_obj.virtual_available (opw 607150)
fixing error message that does not match chosen units when not enough stock
2014-05-13 17:02:13 +02:00
Anael Closson 5bc76f63e9 [FIX] sale_stock: error message does not match chosen units when not enough stock. 2014-05-13 14:19:45 +02:00
Anael Closson 11a9c2d409 [FIX] sale_stock: new product uom is done twice in sale order line on change - opw 607150
[FIX] sale_stock: comparing stock and sale order line qty is always done with default uom rounding precision
2014-05-13 14:00:06 +02:00
Launchpad Translations on behalf of openerp f173d926c8 Launchpad automatic translations update. 2014-05-13 06:28:52 +00:00
Launchpad Translations on behalf of openerp 1397b7aa34 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075539-empsrh7k5l6q44ln
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075505-nu0zmfg57i2352lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070820-8xp1e2jxonp4i750
bzr revid: launchpad_translations_on_behalf_of_openerp-20140503064840-v6n2wyrm1l162bh4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062728-9tmsk2r01vvs3avi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072722-8xpshoxb4um6ef30
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070841-lboiasc73m8h3fb2
2014-05-11 07:08:41 +00:00
Martin Trigaux 3a0b63942e [FIX] analytic: should not set mutable objects in method declaration (python gotcha)
bzr revid: mat@openerp.com-20140509093304-ao8ttky1trgz22ao
2014-05-09 11:33:04 +02:00
Martin Trigaux 8f43b749f4 [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

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

bzr revid: mat@openerp.com-20140508134937-7cbja3vsv311z5j4
2014-05-08 15:49:37 +02:00
Martin Trigaux c636fb9dd9 [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.

bzr revid: mat@openerp.com-20140508124946-ttyr84iajg9q6l0y
2014-05-08 14:49:46 +02:00
Martin Trigaux 133c5033a0 [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.

bzr revid: mat@openerp.com-20140508093129-tzkqpizpwr7vv0zu
2014-05-08 11:31:29 +02:00
Launchpad Translations on behalf of openerp 5f1bd401f8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140508063251-ztdomqygi2izm2o3
2014-05-08 06:32:51 +00:00
Martin Trigaux e0fb0a6434 [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
bzr revid: mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
2014-05-07 15:35:52 +02:00
Ravi Gohil (OpenERP) da4333360e [FIX] document_page: Menu for document page can only be created by superuser. (Maintenance Case: 607160)
lp bug: https://launchpad.net/bugs/1312665 fixed

bzr revid: rgo@tinyerp.com-20140507133222-qql3j1ttqk33une5
2014-05-07 19:02:22 +05:30
Martin Trigaux 5bfc8cdfdc [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.

bzr revid: mat@openerp.com-20140507113940-d8iynfl1lcskht63
2014-05-07 13:39:40 +02:00
Martin Trigaux 95ba80f174 [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 it forbid to create a record that uses this partner/product but it make it not possible to select it through the web interface.

bzr revid: mat@openerp.com-20140507102550-sms5nbf0u7pdkci9
2014-05-07 12:25:50 +02:00
Denis Ledoux 883f695b67 [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...

bzr revid: dle@openerp.com-20140507102414-vz7ur7zvh4ptuk2e
2014-05-07 12:24:14 +02:00
Launchpad Translations on behalf of openerp 5f5fd653db Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072715-4m7kz3factf743c9
2014-05-06 07:27:15 +00:00
Martin Trigaux fab9da65d9 [MERGE] [FIX] hr: when duplicating an employee or user, do not duplicate the reference to other employees (opw 607313)
bzr revid: mat@openerp.com-20140505101313-5y72gs2xpgokhxl1
2014-05-05 12:13:13 +02:00
Jacques-Etienne Baudoux a918e89995 [FIX] mail: change copy call to copy_data to avoid resending email during duplication (opw 607295)
bzr revid: mat@openerp.com-20140505094329-vr7h4c92i43ezob4
2014-05-05 11:43:29 +02:00
Olivier Dony 2f7ac6838d [MERGE] mail: avoid resetting purposefully empty catchall domain setting, courtesy of Stefan Rijnhart (Therp)
bzr revid: odo@openerp.com-20140505075129-hv4evrdw5v7crtmw
2014-05-05 09:51:29 +02:00
Launchpad Translations on behalf of openerp f426972e37 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140430070138-uuemdpfseyysxlvs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064550-9r0c2t3tr8dp1hwu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140501063929-ta3t6lhed5dpdz9a
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064608-1zwt52snc5pg5kfi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062721-dgb7m6o6ge2btumg
2014-05-04 06:27:21 +00:00
Yannick Vaucher c1601e75d3 [FIX] sign in and sign out were broken in rev 10019 as it doesn't provide a date to conversion of attendance time to employee timezone
lp bug: https://launchpad.net/bugs/1314589 fixed

bzr revid: yannick.vaucher@camptocamp.com-20140430113730-cn3xw66fbik8p32n
2014-04-30 13:37:30 +02:00
Martin Trigaux c16d0fc456 [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.

bzr revid: mat@openerp.com-20140430102847-o1fzo318rpmq9n1j
2014-04-30 12:28:47 +02:00
Olivier Dony c43fdfe32b [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).

bzr revid: odo@openerp.com-20140430102552-qkwv20b20nve64th
2014-04-30 12:25:52 +02:00
Launchpad Translations on behalf of openerp 2d32d9e89c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140430070150-8jkf4uv0z6lbfjik
2014-04-30 07:01:50 +00:00
Martin Trigaux 37c41f9c78 [FIX] stock: when delivering a product in average cost, make sure the price_unit on the stock.move is up to date (opw 607272)
bzr revid: mat@openerp.com-20140429145332-s3c22w47aihdsfub
2014-04-29 16:53:32 +02:00
Martin Trigaux 9cf14197ac [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)

bzr revid: mat@openerp.com-20140429124256-ljph37kijosg5dqb
2014-04-29 14:42:56 +02:00
Martin Trigaux 9806fd4225 [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
bzr revid: mat@openerp.com-20140429090446-6691y6h9vdkbbnuu
2014-04-29 11:04:46 +02:00
Anaël Closson (openerp) 25f88efb98 [FIX] stock: destination location should not be limited to internal as this wizard is also used for incoming and outgoing pickings (opw 606213)
bzr revid: mat@openerp.com-20140429083108-njr9ixk1faj8hv3r
2014-04-29 18:31:08 +10:00
Launchpad Translations on behalf of openerp fdfcb6bf47 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140429064121-xnusb4mb3r8vgtzh
2014-04-29 06:41:21 +00:00
Martin Trigaux c393fbcddd [MERGE] [FIX] hr_timesheet_sheet: make it timezone tolerant and avoid errors when comparing datetime and dates, courtesy of Yannick Vaucher (Camptocamp)
The attendance date recieved by the server is in UTC while the user sees it in his timezone. This means that an attendance could be in a timesheet (bounded by dates) for a user but not for the server which would not accept a valid attendance.
The fix will make the check in the user's timezone.

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

bzr revid: mat@openerp.com-20140428153216-4s6r5hu1ov0p0ofm
2014-04-29 01:32:16 +10:00
Yannick Vaucher 22d1c0956f [UPD] resolve conflicts with main branch and fix bug introduced in rev 10015 lp:1313622
lp bug: https://launchpad.net/bugs/1313622 fixed

bzr revid: yannick.vaucher@camptocamp.com-20140428142017-3warx1ai72cfetj1
2014-04-28 16:20:17 +02:00
Yannick Vaucher 886c827458 [UPD]
bzr revid: yannick.vaucher@camptocamp.com-20140428135535-o9512996d18cudgq
2014-04-28 15:55:35 +02:00
Launchpad Translations on behalf of openerp a2536d5e32 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140427061844-eycgmbqvphlakiz3
2014-04-27 06:18:44 +00:00
Denis Ledoux 986e466bf2 [FIX] multi_company: set currency of OpenERP US to USD in the demo data
bzr revid: dle@openerp.com-20140425133421-czisl2dpm5hletts
2014-04-25 15:34:21 +02:00
Denis Ledoux 12eb157397 [FIX] product: price computation failed when for pricelists based on Cost price for non-employee users
bzr revid: dle@openerp.com-20140425125507-njfyl1r6wn11vqwx
2014-04-25 14:55:07 +02:00
Martin Trigaux d1c2667262 [FIX] view: avoid propagation of context while executing an action
As the action could lead to unrelated model, keeping the defaults, groupby and ref do not make sense.
Backport of saas-2 revision 3872, 3891, 3892, 3893 and 3905

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

bzr revid: mat@openerp.com-20140425120002-g4126s9it705hwj5
2014-04-25 14:00:02 +02:00
Amit Vora c6732c1ba9 [MRG] merge with main barnch
bzr revid: avo@tinyerp.com-20140423054749-ubsch2zyr0e0617l
bzr revid: avo@tinyerp.com-20140425115239-w1j8zg1dp0ibzn0a
2014-04-25 17:22:39 +05:30
Martin Trigaux dd03491df9 sync with 7.0
bzr revid: mat@openerp.com-20140425113555-nkjxldq61io6kvdo
2014-04-25 13:35:55 +02:00
Martin Trigaux bb85882322 [FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet (opw 592632)
bzr revid: mat@openerp.com-20140425100856-lcpgyjdk4u632bws
2014-04-25 12:08:56 +02:00
Martin Trigaux 10d3dd4ec3 [FIX] update to latest version saas code with updated underscore lib
bzr revid: mat@openerp.com-20140424160833-p0uf6zzst0pnj3i7
2014-04-24 18:08:33 +02:00
Denis Ledoux a28832dc62 [FIX] sale_stock: recreate delivery order generates only the remaining products to deliver
Like it should do, the feature was broken
Moreover, it resolves a performance issue (do with 100 lines took up to 10 minutes)

bzr revid: dle@openerp.com-20140424155141-qtp5o5nrp0whlk9t
2014-04-24 17:51:41 +02:00
Martin Trigaux f409aab12e [MERGE] [FIX] stock: add product_lot group on Traceability group as some parts of this group are restricted to this group and you can have production_lot without tracking_lot, courtesy of Mohammad Alhashash
lp bug: https://launchpad.net/bugs/1177076 fixed

bzr revid: mat@openerp.com-20140424152206-m4dnmee28w3yomsq
2014-04-24 17:22:06 +02:00
Martin Trigaux 34067a1f49 [FIX] hr_timesheet_sheet: forbid to record an attendance in a submitted timesheet
lp bug: https://launchpad.net/bugs/1180769 fixed

bzr revid: mat@openerp.com-20140424142829-ramy830hwkghk1jv
2014-04-24 16:28:29 +02:00
Dharti Ratani (Open ERP) e55c51fe40 [FIX]Fixed the issue of no audit logs for an object for which audittrail rule is created with Log Read as true 2014-04-24 15:24:29 +05:30
Launchpad Translations on behalf of openerp c7565cd540 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140424063249-gwnojb5kvlq544nz
2014-04-24 06:32:49 +00:00
Martin Trigaux acc784cc99 [FIX] stock: pass the geven limit attribute in read_group call, courtesy of Guewen Baconnier
bzr revid: mat@openerp.com-20140423150621-rjiae83nxh5tqyau
2014-04-23 17:06:21 +02:00
Martin Trigaux f613774606 [MERGE] [FIX] stock: fix error when executing a read_group on stock.picking.in and out, courtesy of Yannick Vaucher (Camptocamp)
bzr revid: mat@openerp.com-20140423132552-hpnr2skutqranvsj
2014-04-23 15:25:52 +02:00
Stefan Rijnhart d77b000aff [FIX] Don't reset an existing but empty mail.catchall.domain
bzr revid: stefan@therp.nl-20140423121411-l3qyijr6fnsexrtn
2014-04-23 14:14:11 +02:00
Denis Ledoux 966a818aa6 [FIX] hr_timesheet_sheet: allow writing attendance line not according to the date order, and check that the attendances satisfy the alternance constraint, even for delete operations
lp bug: https://launchpad.net/bugs/1180773 fixed

bzr revid: dle@openerp.com-20140423112554-75bpk5k3viroqbh5
2014-04-23 13:25:54 +02:00
Martin Trigaux a6797e68e6 [MERGE] [FIX] account_voucher: in recompute_voucher_lines, ensure the price value is not modified when computing the writeoff_amount.
Using the remaining amount for writeoff does not make sense as the amount is already in credit or debit lines.
This issue could be observed in the payment wizard where the execution of _compute_writeoff_amount (through onchange) would be a negative value at the first execution.

bzr revid: mat@openerp.com-20140423101847-s0efihzqe7jcdcps
2014-04-23 12:18:47 +02:00
Martin Trigaux f43f406355 [MERGE] [FIX] procurement: default_get in orderpoint make a search instead of hardcoding a warehouse as it's possible te user do not have access to it (e.g. multicompany), courtesy of Romain Deheele(Camptocamp)
bzr revid: mat@openerp.com-20140423100324-6stypg5uapnl1s5f
2014-04-23 12:03:24 +02:00
Launchpad Translations on behalf of openerp d64b172b3b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140423065826-x7fmgc85ckhi9s8u
bzr revid: launchpad_translations_on_behalf_of_openerp-20140423070300-k249yxs2ghd1vaof
2014-04-23 07:03:00 +00:00
Ravi Gohil (OpenERP) 210adf77cb [FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recompute_voucher_lines(...). (Maintenance Case: 605632)
bzr revid: rgo@tinyerp.com-20140423070139-ielwafap3zcupglx
2014-04-23 12:31:39 +05:30
Denis Ledoux 6083ed4b46 [FIX] web: abitility to do exact id matching with child_of operator for searchs on many2one fields
bzr revid: dle@openerp.com-20140422150918-nxv2v4bcvi6u3v6g
2014-04-22 17:09:18 +02:00
Denis Ledoux b981f3f8ef [FIX] *: in search views, use operator=child_of instead of filter_domain with a child_of domain
operator child_of has the advantage to do exact ID matching for many2one, and not just matching on the name

bzr revid: dle@openerp.com-20140422150710-mr9x3vyq0wcg31l5
2014-04-22 17:07:10 +02:00
Martin Trigaux aac1a81999 [MERGE] [FIX] stock: when duplicating a stock.move, remove serial number and tracking information in every cases instead of specific to duplication of invocies, courtesy of Guewen Baconnier
bzr revid: mat@openerp.com-20140422140337-ymq7x133eicy6rpa
2014-04-22 16:03:37 +02:00
Martin Trigaux 23268ad677 [FIX] account: avoid tax on name search to execute request with empty journal (if context == {'journal_id': False}) (opw 606875)
bzr revid: mat@openerp.com-20140422135012-6faelx7cf0p8cvab
2014-04-22 15:50:12 +02:00
Denis Ledoux df85f3baf6 [FIX] note: typo in manifest
bzr revid: dle@openerp.com-20140422130506-934g9o433kdhmwnp
2014-04-22 15:05:06 +02:00
Ravi Gohil (OpenERP) 70dc4456d7 [FIX] account: Advance search on 'Tax' from journal items leads to traceback if we do not select any journal. (Maintenance Case: 606875)
bzr revid: rgo@tinyerp.com-20140422111115-17e6juruftp3oj2r
2014-04-22 16:41:15 +05:30
Martin Trigaux 322eebf3f7 [FIX] sale: move demo data from sale to sale_stock
A better fix would be to create a sale_procurement module (sale_stock has sale, procurement and stock as dependecies) but a bit overkill for simple demo data

bzr revid: mat@openerp.com-20140422105039-vqvxejd123cmtc0s
2014-04-22 12:50:39 +02:00
Martin Trigaux 7d428b6430 [MERGE] [FIX] account unreconciliation and voucher cancelation (opw 605498)
When canceling a voucher or unreconciling move lines, make sure the linked invoice is still correct and has valid payment lines (if cancel one of two payments, should have the other one left).
Forward-port from 6.0 addons revision:5094

Oh, by the way, revision 10000 !

bzr revid: mat@openerp.com-20140422104545-900yfw8gckse1iay
2014-04-22 12:45:45 +02:00
Amit Dodiya e270940c5f [FIX] account_voucher & account_move_line: while we have partial payment and we cancel one payment it also unlink the reconcile/partial reconcile tag from other payment entries also
bzr revid: ado@tinyerp.com-20140422101128-ugudle2s7ysc6n1p
2014-04-22 15:41:28 +05:30
Launchpad Translations on behalf of openerp 89fd1bede4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140419063533-z6kswp5wkioh5jlv
bzr revid: launchpad_translations_on_behalf_of_openerp-20140420055842-traoy17xi60ufook
bzr revid: launchpad_translations_on_behalf_of_openerp-20140421050815-44ydlitvsaj3xdd9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140422082459-bfjqgpt2bpgll64p
2014-04-22 08:24:59 +00:00
Anael Closson 1ddeaa57a6 [FIX] en_US typos - opw 606933
bzr revid: acl@openerp.com-20140422073826-0w9ne38ub8nh7p4v
2014-04-22 09:38:26 +02:00
Ravi Gohil (OpenERP) 246b57c997 [FIX] account_voucher: Fixed wrong writeoff(Payment Difference) calculation by recompute_voucher_lines(...). (Maintenance Case: 605632)
bzr revid: rgo@tinyerp.com-20140421112339-36q7ifaplea40r56
2014-04-21 16:53:39 +05:30
Martin Trigaux a97dd9adaf [FIX] mail: correct missing comma in domain on mail.mail
bzr revid: mat@openerp.com-20140418140508-y0fnxsbgda0gp6t4
2014-04-18 16:05:08 +02:00
Martin Trigaux fa4e285be7 [FIX] FieldMany2One: avoid error when saving changes in popup from a related fields (opw 606601)
bzr revid: mat@openerp.com-20140418092033-mvqng3thuy61kfoq
2014-04-18 11:20:33 +02:00
Launchpad Translations on behalf of openerp 8364a0faab Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140418072154-969nr7hzpppvd0mw
2014-04-18 07:21:54 +00:00
Yannick Vaucher 229f48bb2d Fix group by access error on stock.picking.in/out in multi company by ensuring the good ir rules are applied, this is done by calling read_group using stock.picking intead of stock.picking.in/out.
lp bug: https://launchpad.net/bugs/1309105 fixed

bzr revid: yannick.vaucher@camptocamp.com-20140417164953-7bjuggmhktv7mfwx
2014-04-17 18:49:53 +02:00
Denis Ledoux e2b8593f91 [REVERT] web: 4174 revid:dle@openerp.com-20140415130732-bud8xb3pzgxw2imr, break the kanban drag and drop, which is far more important than the show more button wrongly displayed in ie.
bzr revid: dle@openerp.com-20140417160919-ftwk0jtci9dwuu7h
2014-04-17 18:09:19 +02:00
Denis Ledoux 64ce8f977d [FIX] account_analytics_plan: for bank statement move, the analytic distribution must not be written on the counterpart move line
bzr revid: dle@openerp.com-20140417132616-w71ctwn0w653yn0v
2014-04-17 15:26:16 +02:00
Denis Ledoux a103ff4ebc [FIX] note: folded by default was not considered
bzr revid: dle@openerp.com-20140417110435-u8uwwcf5ji1b54ao
2014-04-17 13:04:35 +02:00
Denis Ledoux 7c668d8eac [FIX] web: double click on save button was trying to save the data two times if there is some latency, event target should be used instead of delegate target
bzr revid: dle@openerp.com-20140417101217-3fwnm76qne6f1vwk
2014-04-17 12:12:17 +02:00
Denis Ledoux f928ba4f10 [FIX] web: double click on save button was trying to save the data two times if there is some latency
bzr revid: dle@openerp.com-20140417101000-6gtyxntkm5d7zcoy
2014-04-17 12:10:00 +02:00
Launchpad Translations on behalf of openerp 7b93809fb4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140417065316-5cle12k1npy96t4m
2014-04-17 06:53:16 +00:00
Thibault Delavallée d344f53a68 [FIX] crm_helpdesk: when creating a new helpdesk category
it was not possible to re-use the category due to a missing object_id.

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

bzr revid: tde@openerp.com-20140416130804-xfgi8dr5703mr49o
2014-04-16 15:08:04 +02:00
Thibault Delavallée fdb5200d80 [FIX] crm_todo: usability fix: the lead was not present
in the task form view, but in the tree view, it is now present in both view when coming from 'my tasks' in crm menu.

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

bzr revid: tde@openerp.com-20140416130356-i3a5pqcib8smdx47
2014-04-16 15:03:56 +02:00
Mohammed Shekha 91930b470d [FIX]Fixed the issue of reference field throws traceback that view is undefined, the reason is that reference field passing DefaultFieldManager while creating instance of many2one widget and DefaultFieldManager is eventually extending instance.web.widget not instance.web.form.FormWidget and hence DefaultFieldmanager will nto having view attribute, instead of calling self.view.do_onchange, trigger changed_value which is going to do the same job.
bzr revid: msh@tinyerp.com-20140416083857-sug0k4a28nkvgg27
2014-04-16 14:08:57 +05:30
Martin Trigaux 8c8631b233 [FIX] account_anglo_saxon: avoid incorrect conversion while creating invoice in different currency than the one of the company (opw 606408).
Without this patch the generated entries would use incorrect currencies. The expected result from move_line_get are prices in the currency of the invoice.

bzr revid: mat@openerp.com-20140416082915-555nhsvi8l0mmyxi
2014-04-16 10:29:15 +02:00
Launchpad Translations on behalf of openerp 31a8dfaf43 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140416070627-eneildfcgmfpyjxy
2014-04-16 07:06:27 +00:00
Martin Trigaux 09e6d4e7f3 [FIX] mail: mail: convert attachments to binary as it is the expected format of message_post opw 604205
The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.

bzr revid: mat@openerp.com-20140415162911-fe3306wn9w258ii7
2014-04-15 18:29:11 +02:00
Martin Trigaux 1ab962d338 [FIX] mail: convert attachments to binary as it is the expected format of message_post opw 604205
The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.

bzr revid: mat@openerp.com-20140415161441-q6pfueetvv0namgw
2014-04-15 18:14:41 +02:00
Denis Ledoux f658a55e4e [FIX] stock: before creating chained pickings, regroup moves by chained auto packing
Before, all moves issued from a same purchase order were put in the same chained picking, and, therefore, the moves were all treated with the same behavior (manually, automaticaly, ...)

bzr revid: dle@openerp.com-20140415160331-kzgib87qabvpc86p
2014-04-15 18:03:31 +02:00
Denis Ledoux 4a516a4709 [FIX] web_kanban: show more button of kanban view behind the kanban cards on (ie9)
bzr revid: dle@openerp.com-20140415130732-bud8xb3pzgxw2imr
2014-04-15 15:07:32 +02:00
Denis Ledoux 998b290409 [MERGE][FIX] account: while refuding the invoice with payment term journal items are created wrongly with write-off account
bzr revid: dle@openerp.com-20140415100702-s13cuejf89gtlnhc
2014-04-15 12:07:02 +02:00
Ravi Gohil (OpenERP) d36efd77eb [FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)
lp bug: https://launchpad.net/bugs/1304195 fixed

bzr revid: rgo@tinyerp.com-20140415094723-hly42ii5c8hdcnw4
2014-04-15 15:17:23 +05:30
Ravi Gohil (OpenERP) 8f59d71f3a [FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)
bzr revid: rgo@tinyerp.com-20140415092608-hplfg4ftsuxhu7rh
2014-04-15 14:56:08 +05:30
Ravi Gohil (OpenERP) 4a8168a7dc [FIX] account_anglo_saxon: Enabled the multi-currency support for price diff calculation. (Maintenance Case: 606408)
bzr revid: rgo@tinyerp.com-20140415091428-az1rx5ngz79j4fh6
2014-04-15 14:44:28 +05:30
Denis Ledoux a701934ac7 [FIX] purchase: invoiced based on invoiced bool of purchase order line, instead of rate
invoiced bool of purchase order line is set to true on invoice validation, not on invoice creation

bzr revid: dle@openerp.com-20140415081211-jz6if0vzgq3inzzw
2014-04-15 10:12:11 +02:00
Launchpad Translations on behalf of openerp 6ca81553a0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140415075130-aqn4mzx05l3txtkb
bzr revid: launchpad_translations_on_behalf_of_openerp-20140415075337-ulie3qkes53t8ivf
2014-04-15 07:53:37 +00:00
Denis Ledoux c3300dce7a [FIX] account: name_search methods used '=' or 'ilike' to search, instead of the actual operator
Therefore, for example, searching invoices for journals doesnt containing 'sales' actually returned invoices with journal containing 'sales'.

bzr revid: dle@openerp.com-20140414121930-xbawuj93ddifhf4m
2014-04-14 14:19:30 +02:00
Martin Trigaux 3a27186643 [MERGE] [FIX] FormView: avoid multiple creations of the same line in o2m fields when the save action fails (e.g. forgot one required field)
This is done by removing the added action 'prepend_on_create' that can be present as many time as we pressed the save button

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

bzr revid: mat@openerp.com-20140414081003-290q4v21q01m4rsi
2014-04-14 10:10:03 +02:00
Launchpad Translations on behalf of openerp 001a034e58 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094217-3u3f03f0wjhbzyo4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140413062047-z833pejjrtuhfygs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140414055948-intynzk8l823ukei
2014-04-14 05:59:48 +00:00
Jamin Shah (OpenERP) d9423585d5 [FIX]Fixed the issue of mimetype not detected properly, used python mimetypes module to detect file's mimitype.
bzr revid: jas@tinyerp.com-20140414052904-rp4oia2py6b61xg8
2014-04-14 10:59:04 +05:30
Olivier Dony 9861b5cada [FIX] mail.thread: avoid overwriting thread_id/model with foreign values when reply-to hostname does not match + fix tests
This improve previous commit by making sure we
never consider the thread_id/model values in the
In-Reply-To/References header if the host name
did not match.
Also fixes the tests that were using the
6.1 compatibility mode to post in a mail group
thread instead of specifying the right
message-id.

bzr revid: odo@openerp.com-20140411142429-y0rpkzqbrsabxqsg
2014-04-11 16:24:29 +02:00
Denis Ledoux 452c77c09b [FIX] 500 error on connection when using PyWebDAV 0.9.4
(and maybe others)

Courtesy of Holger Brunn (Therp)

bzr revid: dle@openerp.com-20140411134203-lxt4mnquiiclv6w3
2014-04-11 15:42:03 +02:00
Olivier Dony 4ed8413dc7 [FIX] mail.thread: avoid wrongly matching model,id from a foreign OpenERP system
When emails transit from an OpenERP system to another
there is a chance of wrongly considering the foreign
model,id pair as local, possibly attaching a reply
to a wrong parent message.
This naive heuristic ignore the foreign identifiers
unless the hostname of the message-id mentioned in
the In-Reply-To header matches the local one.
This may fail after a change of local hostname but
is still better than the alternative.
In OpenERP v8 we should stop including the model,res_id
in outgoing Message-Id headers and only rely on the
stored, opaque, unique Message-Ids, preventing
any future mismatch.

bzr revid: odo@openerp.com-20140411101349-h3jmkdzvbr7lut26
2014-04-11 12:13:49 +02:00
Launchpad Translations on behalf of openerp 63e9150cff Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140411055930-7coykr7rveqsucp3
2014-04-11 05:59:30 +00:00
Martin Trigaux 803bbd7c22 [MERGE] [FIX] account_budget: fix the computation of theorical amount field (opw 606232)
The amount should use number of days +1
eg: budget from 2014-04-01 to 2014-04-11, today is 2014-04-10, should be 10/11*amount instead of 9/10*amount

bzr revid: mat@openerp.com-20140410151717-gzoucjmshb2y2j6i
2014-04-10 17:17:17 +02:00
Christophe Simonis c65832f8c6 [FIX] account: Chart Installer: new way to get apps server
bzr revid: chs@openerp.com-20140410100027-5ug4801pfch9virt
2014-04-10 12:00:27 +02:00
Amit Dodiya d50a5c7efc [FIX] account_voucher & account_move_line: while we have partial payment and we cancel one payment it also unlink the reconcile/partial reconcile tag from other payment entries also
bzr revid: ado@tinyerp.com-20140410095132-wx29csixtxsf6gdv
2014-04-10 15:21:32 +05:30
Launchpad Translations on behalf of openerp fc25f85b52 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140410064650-qqd9g5dsaf5dqm52
2014-04-10 06:46:50 +00:00
Denis Ledoux c28a5a1021 [FIX] pad: render_value binded on change effective_readonly event, so render value calls wait for each others
Proper fix than 9968 revid:dle@openerp.com-20140409160214-1anxi8z07xj49vsp

bzr revid: dle@openerp.com-20140409162932-y5fxd5wbojing2t2
2014-04-09 18:29:32 +02:00
Denis Ledoux 83996269ca [FIX] pad: render_value binded on change effective_readonly event, so render value calls wait for each others
bzr revid: dle@openerp.com-20140409160214-1anxi8z07xj49vsp
2014-04-09 18:02:14 +02:00
Martin Trigaux 141f24abc4 [FIX] analytic_user_function: add missing _rec_name
bzr revid: mat@openerp.com-20140409142917-ueqzyblgh3iwblc0
2014-04-09 16:29:17 +02:00
Anael Closson 1e123f5be0 [FIX] pad: pad in readonly when opening form view in edit mode - opw 606208
bzr revid: acl@openerp.com-20140409114825-t10ps6o7qn7qbd7y
2014-04-09 13:48:25 +02:00
Martin Trigaux 71c61ce1df [FIX] account_asset: copy should not keep history and move lines of previous asset
bzr revid: mat@openerp.com-20140409100658-1oj741aw5sne8dtr
2014-04-09 12:06:58 +02:00
Denis Ledoux b00a7562f9 [FIX] web: impossible to click on attach button, for many2many_binary
This fix is related to revision 4169 revid:mat@openerp.com-20140407120612-mjb08yts2oa4k4jz

bzr revid: dle@openerp.com-20140409093422-imrg2hqozf46kj8d
2014-04-09 11:34:22 +02:00
Ravi Gohil (OpenERP) e0274d1bd2 [FIX] account_budget: Added missing 1 day in the(to the elapsed days and total days) calculation of 'Theoretical Amount' in order to have correct amount value for it. (Maintenance Case: 606232)
lp bug: https://launchpad.net/bugs/1279922 fixed

bzr revid: rgo@tinyerp.com-20140409085332-ul2rq25pkivtyzja
2014-04-09 14:23:32 +05:30
Launchpad Translations on behalf of openerp 0811d29337 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140409070627-o5ns6nniq2dc1lme
2014-04-09 07:06:27 +00:00
Denis Ledoux 32f4824434 [MERGE][FIX] sale: sale order report, pto in invoice template should not cover the whole document
Courtesy of Stefan Rijnhart (Therp)

bzr revid: dle@openerp.com-20140408193910-2vztatyowndyasj9
2014-04-08 21:39:10 +02:00
Denis Ledoux 4646107e1e [FIX] account_invoice: print invoice report, pto missplaced around the whole report instead of just the invoice lines
bzr revid: dle@openerp.com-20140408141413-xqotylt1wlgktgpx
2014-04-08 16:14:13 +02:00
Denis Ledoux a16b0c7907 [IMP] web: select input on add record in list editable
bzr revid: dle@openerp.com-20140408120141-f1fx2e9e8vqatccx
2014-04-08 14:01:41 +02:00
Ravi Gohil (OpenERP) 5a19eb8ff5 [FIX] account_budget: Added missing 1 day in the(to the elapsed days and total days) calculation of 'Theoretical Amount' in order to have correct amount value for it. (Maintenance Case: 606232)
bzr revid: rgo@tinyerp.com-20140408073452-28jfel5fp039s07e
2014-04-08 13:04:52 +05:30
Launchpad Translations on behalf of openerp 7dc732af6c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140408070758-jpj1hkcbia6f8630
2014-04-08 07:07:58 +00:00
Martin Trigaux d0b7e7fc7b [MERGE] [FIX] upload widget: avoid overflow making impossible to click on other buttons than the first one (opw 603125)
bzr revid: mat@openerp.com-20140407120612-mjb08yts2oa4k4jz
2014-04-07 14:06:12 +02:00
Kersten Jeremy 5be8fc620e [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
bzr revid: jke@openerp.com-20140407104402-nlswdttmkmxznap2
2014-04-07 12:44:02 +02:00
Denis Ledoux 13c0a74596 [FIX] l10n_be: tax VAT-IN-V82-CAR-EXC-C1 should have as invoice and refund tax account the 'TVA non deductible' account
bzr revid: dle@openerp.com-20140407101016-fqns4nwv65rras91
2014-04-07 12:10:16 +02:00
Launchpad Translations on behalf of openerp bb8560f779 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140405061904-60l019fp9qbl890t
bzr revid: launchpad_translations_on_behalf_of_openerp-20140406065319-1cr9ypow2w870fbo
bzr revid: launchpad_translations_on_behalf_of_openerp-20140407065316-8z3pm4a79uff45z5
2014-04-07 06:53:16 +00:00
Foram Katharotiya (OpenERP) 1adc0b785a [IMP] bring back the tests for mrp_operations - backported from little after v7.0 in the trunk
lp bug: https://launchpad.net/bugs/1182515 fixed

bzr revid: ls@numerigraphe.com-20140404124518-jv77xw4z0ouoaqlz
2014-04-04 14:45:18 +02:00
Lionel Sausin a386aea7d3 [FIX] revert to v7 report API
bzr revid: ls@numerigraphe.com-20140404124036-1vt0fkakfllj1qax
2014-04-04 14:40:36 +02:00
Martin Trigaux af64d6cc97 [FIX] changes made at merge time into the trunk - remove offending test
bzr revid: ls@numerigraphe.com-20140404123655-9ihrychuho6n6qt2
2014-04-04 14:36:55 +02:00
Foram Katharotiya (OpenERP) bae4c6ce40 [IMP] bring back the tests for MRP - backported from little after v7.0 in the trunk
lp bug: https://launchpad.net/bugs/1182515 fixed

bzr revid: ls@numerigraphe.com-20140404123003-cdt5zz1vmupbgd1j
2014-04-04 14:30:03 +02:00
Lionel Sausin 90ddb9f897 [FIX] revert to v7 report API
bzr revid: ls@numerigraphe.com-20140404095202-wwegxz9qp00o8yuw
2014-04-04 11:52:02 +02:00
Foram Katharotiya (OpenERP) 96beccc05a [IMP] bring back the tests - backported from little after v7.0 in the trunk
lp bug: https://launchpad.net/bugs/1182515 fixed

bzr revid: ls@numerigraphe.com-20140404092409-q1c2cwg5m2fav7tn
2014-04-04 11:24:09 +02:00
Launchpad Translations on behalf of openerp 8f174e13bd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070722-99m3lomg172fzapc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070759-302tyo6k09v8arhz
2014-04-04 07:07:59 +00:00
Ravi Gohil (OpenERP) 091de4eb75 [FIX] account_budget: Added missing 1 day in the(to the elapsed days and total days) calculation of 'Theoretical Amount' in order to have correct amount value for it. (Maintenance Case: 606232)
bzr revid: rgo@tinyerp.com-20140404070254-ey27l4kq6d1vypq9
2014-04-04 12:32:54 +05:30
Christophe Simonis c6b281c3f0 [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

bzr revid: chs@openerp.com-20140403153129-jq9zc7ityoy25c73
2014-04-03 17:31:29 +02:00
Christophe Simonis a59b438ceb [FIX] share: at module init force re-generation of the user groups view without the shared groups
bzr revid: chs@openerp.com-20140403145815-i3q3cprl2rvdfunf
2014-04-03 16:58:15 +02:00
Mohammed Shekha f9d143c216 [FIX]Fixed the issue of duplicated one2many lines, weired behavior when you add one2many line and then add another line withour filling required field and then click on save, then remove added one2many line for which we didn't filled required data and then save it, you will get duplicated lines.
bzr revid: msh@tinyerp.com-20140403070844-6ogpdursukue2zoh
2014-04-03 12:38:44 +05:30
Launchpad Translations on behalf of openerp 4612b417af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140403060213-netdplm9jzfr9yy6
2014-04-03 06:02:13 +00:00
Olivier Dony 1cdf8ac3f2 [FIX] crm.lead: missing index on stage_id/type/state
bzr revid: odo@openerp.com-20140402122023-detokob7c6a06rux
2014-04-02 14:20:23 +02:00
Olivier Dony 4fe43d9ac6 [FIX] project,project_issue: missing indexes on stage/state/project_id/user_id
bzr revid: odo@openerp.com-20140402110700-h3ryoroibj1m92ig
2014-04-02 13:07:00 +02:00
Martin Trigaux 9a02917bdc [MERGE] [IMP] project: avoid showing closed projects when creating a new task (opw #605218)
bzr revid: mat@openerp.com-20140402091755-u3wua9456yiwmqbh
2014-04-02 11:17:55 +02:00
Olivier Dony ccc0820348 [FIX] account_report_company: missing index on `display_name`
bzr revid: odo@openerp.com-20140402090537-aozassn5in2qgd92
2014-04-02 11:05:37 +02:00
Martin Trigaux f0731045ab [FIX] hr_payroll: when computing pyslip lines, avoid previous rules to corrupt result_rate info in localdict and other contracts
lp bug: https://launchpad.net/bugs/1298469 fixed

bzr revid: mat@openerp.com-20140402085043-n8jl2hlwh5zi6dic
2014-04-02 10:50:43 +02:00
Denis Ledoux e8775beded [FIX] account_voucher: it is authorized to enter invoice with negative amount, therefore the check amount constraint must take that into account
bzr revid: dle@openerp.com-20140402083713-tayk4r76bmrp9luf
2014-04-02 10:37:13 +02:00
Martin Trigaux 5fb77bd6c5 [IMP] hr_payroll: ensure localdict is not shared between contracts
bzr revid: mat@openerp.com-20140402082954-05zzk1k3ued4go5a
2014-04-02 10:29:54 +02:00
Launchpad Translations on behalf of openerp 16ce262c33 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140329073038-m7q4sxpb8tprh00r
bzr revid: launchpad_translations_on_behalf_of_openerp-20140330061549-r3t0pecngy76c2rw
bzr revid: launchpad_translations_on_behalf_of_openerp-20140331064021-x3wjc8s4oa0ncq95
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401065325-w3viflz7c33n4uis
bzr revid: launchpad_translations_on_behalf_of_openerp-20140402064459-d7e3d8nwo8famjh6
2014-04-02 06:44:59 +00:00
Martin Trigaux 7ee65aa181 [FIX] sale: remove useless write call (problematic when invoice on delivery order)
bzr revid: mat@openerp.com-20140331104448-4omzqnist6wlmakd
2014-03-31 12:44:48 +02:00
Amit Dodiya 9f9ed4ff6a [FIX] task: added domain in project_id field on task view to restrict user for selecting closed project
bzr revid: ado@tinyerp.com-20140331054938-sq6xbwtmtnlx01y5
2014-03-31 11:19:38 +05:30
Pinakin Nayi (OpenERP) 09600a9969 [FIX]hr_payroll : initialize result_rate in localdict to avoid next execution problem
bzr revid: pna@tinyerp.com-20140331050122-kqfw152vcippdl52
2014-03-31 10:31:22 +05:30
Launchpad Translations on behalf of openerp 8752221ac2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140328064447-upr58gkij5ne9rm3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140329073044-67cql7rohzkmuub9
2014-03-29 07:30:44 +00:00
Martin Trigaux 89ea4f839d [MERGE] [FIX] procurement: cancelling purchase order should trigger action_assign on the stock move to correctly handle linked picking
lp bug: https://launchpad.net/bugs/1290509 fixed

bzr revid: mat@openerp.com-20140328130305-ozcdq0jft24p5n1i
2014-03-28 14:03:05 +01:00
Amit Dodiya be0a802e64 [FIX] task: added domain in project_id field on task view to restrict user for selecting closed project
bzr revid: ado@tinyerp.com-20140328125215-2xypsdnn84nln171
2014-03-28 18:22:15 +05:30
Martin Trigaux 830e2d00a9 [MERGE] [FIX] project: function field 'doc_count' is of type integer, not int, courtesy of Yanina Aular (Vauxoo)
bzr revid: mat@openerp.com-20140328114737-bk29fqfdyabx4r65
2014-03-28 12:47:37 +01:00
Amit Dodiya d17ba501ef [FIX] task: added domain in project_id field on task view to restrict user for selecting closed project
bzr revid: ado@tinyerp.com-20140328113218-v9gxvylwdtefuj80
2014-03-28 17:02:18 +05:30
Denis Ledoux 172ec1679d [FIX] account_voucher: bank statement reconciliation for refund invoice
bzr revid: dle@openerp.com-20140328110052-m4t49u6ayd5l0m0g
2014-03-28 12:00:52 +01:00
Launchpad Translations on behalf of openerp 598cf8d9b3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140328064440-1ja0p23itklkg7yk
2014-03-28 06:44:40 +00:00
Denis Ledoux 56894a58cf [MERGE][IMP] account: Set the order of the sequence by date while posting journal entries from wizard Periodical Processing> Draft Entries> Post Journal Entries
bzr revid: dle@openerp.com-20140327140304-9oyq6ebl48aasia8
2014-03-27 15:03:04 +01:00
Martin Trigaux 64ecfa40ec [IMP] cookies: when retrieving session cookie, catch eventual parsing errors and remove cookie if incorrect (opw 605648)
In case of unparsable cookie (modified, corrupted,...), openerp would not load and crash with white screen until expiration.
With the fix goes back to login screen.

bzr revid: mat@openerp.com-20140327120826-2p6ebnojtmdl1wpm
2014-03-27 13:08:26 +01:00
Martin Trigaux a04f73ee80 [IMP] cookies: when retrieving session cookie, catch eventual errors and remove malformed cookie
bzr revid: mat@openerp.com-20140327113401-s3ee7fnexhre9mwb
2014-03-27 12:34:01 +01:00
Launchpad Translations on behalf of openerp 391037db85 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140327081257-qru0hbrfsyepb2s2
bzr revid: launchpad_translations_on_behalf_of_openerp-20140327081313-vs355ra8b74c35d8
2014-03-27 08:13:13 +00:00
Yanina Aular 204ab9f609 [PEP8]
bzr revid: yanina.aular@vauxoo.com-20140326223329-o0dlgynicv0vq0t1
2014-03-26 18:03:29 -04:30
Martin Trigaux aeeae02a89 [MERGE] [FIX] mrp_repair: create invoice button does not update the view
partial backport of trunk revision 8862
courtesy of Leonardo Pistone (camptocamp)

bzr revid: mat@openerp.com-20140326161008-uv8bo4eas2csbx1e
2014-03-26 17:10:08 +01:00
Denis Ledoux 649ef3ed21 [REVERT] 4164 revid:dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8: this fix actually works in saas-3, but not in 7.0, as search_read method is not part of the orm
bzr revid: dle@openerp.com-20140326123513-jkful2m1n2zjgdmv
2014-03-26 13:35:13 +01:00
Martin Trigaux 76aa47b133 [MERGE] [FIX] point_of_sale: replace search_read call by search + read (search_read not present in 7.0)
bzr revid: mat@openerp.com-20140326123101-50ln79wag3g52pe6
2014-03-26 13:31:01 +01:00
Denis Ledoux 162ad1c0f1 [FIX] web: on record reload (form & list view), use search_read instead of read, to check if the user can still read the record (security rules)
bzr revid: dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8
2014-03-26 12:30:36 +01:00
Ravi Gohil (OpenERP) c1ce615891 [FIX] point_of_sale: Replaced the call to undefined search_read(...) with search(...) and read(...) calls. (Maintenance Case: 605684)
bzr revid: rgo@tinyerp.com-20140326112922-x6ac9j157han28kb
2014-03-26 16:59:22 +05:30
Launchpad Translations on behalf of openerp 87f5acb97b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140326071242-wi4c4p17bbhfp671
2014-03-26 07:12:42 +00:00
Martin Trigaux c6f19b6d0d [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

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

bzr revid: mat@openerp.com-20140325105848-m886oa9ys0fhb0ju
2014-03-25 11:58:48 +01:00
Denis Ledoux 6d60e0ee29 [FIX] project: on project template duplication, keep original tasks stages
bzr revid: dle@openerp.com-20140325104921-x8zjx5p71l1o3uif
2014-03-25 11:49:21 +01:00
Martin Trigaux 91c3673949 [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)
bzr revid: mat@openerp.com-20140325104613-t79wxl4y38ll82h0
2014-03-25 11:46:13 +01:00
Olivier Dony 38c255627e [MERGE] l10n_fr: remove obsolete French taxes, following 2014 rate update, courtesy of Alexis de Lattre (Akretion)
bzr revid: odo@openerp.com-20140325104323-xtxthbopkhk350r4
2014-03-25 11:43:23 +01:00
Denis Ledoux 8310cd1920 [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

bzr revid: dle@openerp.com-20140325103226-vusygdpd74yha91m
2014-03-25 11:32:26 +01:00
Launchpad Translations on behalf of openerp a8d14c47df Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140325072122-d9jgtji9dmmytg8d
2014-03-25 07:21:22 +00:00
Amit Dodiya 26f807fa02 [FIX] account_voucher: forward port of 6.0 revision: 5094, for issue cancel_voucher method is unlinking the whole account_move_reconciliation record
bzr revid: ado@tinyerp.com-20140325054743-opywyna9w1toyjp8
2014-03-25 11:17:43 +05:30
Denis Ledoux 98ca1ab200 [FIX] account_voucher: bank statement reconciliation for refund invoices
bzr revid: dle@openerp.com-20140324144518-pnjtlxpuz63bq6ig
2014-03-24 15:45:18 +01:00
Denis Ledoux 04f632820b [FIX] sale: trigger signal manual invoice for make invoices wizard (not advance)
bzr revid: dle@openerp.com-20140324103427-yckncrnynvs5si8i
2014-03-24 11:34:27 +01:00
Simon Lejeune 245e83d43b [FIX] last version of wkhtmltopdf expects all file to have a doctype, inject one if not present
bzr revid: sle@openerp.com-20140324101731-eqzqins3s8uak1yd
2014-03-24 11:17:31 +01:00
Launchpad Translations on behalf of openerp 6472e4155a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140322070453-bbx8zxmppthwar0s
bzr revid: launchpad_translations_on_behalf_of_openerp-20140323064412-l97e4rap18b68ab0
2014-03-23 06:44:12 +00:00
Denis Ledoux 0871d10503 [FIX] survey: avoid duplicate partners on new users creation
bzr revid: dle@openerp.com-20140321135705-lrnxu3gsnkt4r5cd
2014-03-21 14:57:05 +01:00
Launchpad Translations on behalf of openerp 2fa6706037 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140321065150-vovy9a0q2y6vkwm4
2014-03-21 06:51:50 +00:00
david.leach@logicsupply.com d73baf5d1d [FIX] stock: while cancelling purcahse order created from procurement it availables the related internal stock move which should not and also not triggering the workflow method
bzr revid: ado@tinyerp.com-20140321055412-30i0ifkj8wnzmaer
2014-03-21 11:24:12 +05:30
Kersten Jeremy 9bf6f0310e [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

bzr revid: jke@openerp.com-20140320180240-un42lptu3pjnsmxq
2014-03-20 19:02:40 +01:00
Denis Ledoux be81326ee3 [FIX] survey: report not stored on filesystem
bzr revid: dle@openerp.com-20140320174835-kdha7ivs64vsvizt
2014-03-20 18:48:35 +01:00
Denis Ledoux 84eeb79875 [FIX] point_of_sale: add multi-companies rules on pos.config
bzr revid: dle@openerp.com-20140320154436-ygqhvvyhe6otv70p
2014-03-20 16:44:36 +01:00
Denis Ledoux 287aae3942 [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
bzr revid: dle@openerp.com-20140320110741-pg8se5c02p87yi1y
2014-03-20 12:07:41 +01:00
Dharti Ratani (Open ERP) b711318924 [IMP]Set the order of the sequence by date while posting journal entries from wizard Periodical Processing> Draft Entries> Post Journal Entries
bzr revid: dhr@tinyerp.com-20140320094600-7s0cfsn2yz5jr2e6
2014-03-20 15:16:00 +05:30
Olivier Dony 42518c339a [FIX] subscription: missing required dependency on `base`
bzr revid: odo@openerp.com-20140320091349-74zykqzf2ols3ja1
2014-03-20 10:13:49 +01:00
Launchpad Translations on behalf of openerp 1f3c4f852f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140319063002-sd17jxb37ycogrrz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061944-bwpy0lt1bp5ee0y2
2014-03-20 06:19:44 +00:00
Denis Ledoux 1225c8b530 [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
bzr revid: dle@openerp.com-20140318151456-qw896i1t55wgwhkm
2014-03-18 16:14:56 +01:00
Launchpad Translations on behalf of openerp 596cc96b7e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062135-gqvoka8hm41pe762
2014-03-18 06:21:35 +00:00
Denis Ledoux 112fe22347 [FIX] point_of_sale: prevent duplicated order posting
bzr revid: dle@openerp.com-20140317164131-eewyqmzz5niebz2a
2014-03-17 17:41:31 +01:00
Launchpad Translations on behalf of openerp 9965b2c434 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140315072920-dmiymtbhrgu87wm0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140316060652-akf1fti2hc1a9vmm
bzr revid: launchpad_translations_on_behalf_of_openerp-20140317050959-2xx2aoylhn6a28fo
2014-03-17 05:09:59 +00:00
Martin Trigaux 4bf3a10056 [MERGE] [FIX] stock: add some missing context, courtesy of Lionel Sausin (Numérigraphe)
bzr revid: mat@openerp.com-20140314160938-px91g81280qff635
2014-03-14 17:09:38 +01:00
Martin Trigaux 53922c9593 [FIX] pager: revert of revision 4159, the pager was disapearing when going in editable mode (which is more problematic that the issue rev 4159 was trying to fix)
bzr revid: mat@openerp.com-20140314132854-8ie8sosx9xecuww4
2014-03-14 14:28:54 +01:00
Olivier Dony a9f98e4990 [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.

bzr revid: odo@openerp.com-20140314131849-rnjvk1pqpiyvtc1c
2014-03-14 14:18:49 +01:00
Christophe Simonis b93ae13482 [FIX] share wizard: delete wizard lines in cascade
bzr revid: chs@openerp.com-20140314115936-8y6eg51tzmsdlb85
2014-03-14 12:59:36 +01:00
Martin Trigaux 08e07af590 [FIX] pager: do not try to toggle the visibility if the pager do not exists yet
bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e
2014-03-14 12:27:09 +01:00
Olivier Dony 9e002d9233 [FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier
bzr revid: odo@openerp.com-20140314104605-qi7eqj2g37dvxvc3
2014-03-14 11:46:05 +01:00
Christophe Simonis 44a99c0976 [FIX] calendar: correct recurrency end date computation
bzr revid: chs@openerp.com-20140314094809-0wuus62tob8vtyi0
2014-03-14 10:48:09 +01:00
Launchpad Translations on behalf of openerp aba3459889 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065823-xdw7aa9ye4j200pp
bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065836-tn2fv9smot0omj8f
2014-03-14 06:58:36 +00:00
Amit Dodiya 337b879e51 [FIX] project: users are able to create tasks on closed project which should not be allowed
bzr revid: ado@tinyerp.com-20140314061625-awngp5ndcu0lnjqq
2014-03-14 11:46:25 +05:30
Martin Trigaux 5fa7e40a9f [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

bzr revid: mat@openerp.com-20140313155131-e90stgoh8bz8tgvg
2014-03-13 16:51:31 +01:00
Martin Trigaux 32befa63e8 [FIX] pager show the pagger earlier in the loading process to avoid to mix the list and form pagers when fast switching (and slow network)
bzr revid: mat@openerp.com-20140313154228-70jytisdwlf3sfbo
2014-03-13 16:42:28 +01:00
Martin Trigaux 219e1a6218 [IMP] add test
bzr revid: mat@openerp.com-20140313153757-nj9nn52u7kxpfg8i
2014-03-13 16:37:57 +01:00
Christophe Simonis b43ffa52c2 [FIX] pad: use server to get pad content
bzr revid: chs@openerp.com-20140313153535-ogyip9tfm2hkwn1f
2014-03-13 16:35:35 +01:00