Commit Graph

71589 Commits

Author SHA1 Message Date
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
Jeremy Kersten 100eba8eaf [FIX] fields.py - avoid dict comprehension inside a dict comprehension 2014-06-11 10:30:00 +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
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
Martin Trigaux 548c8e6675 Merge pull request #404 from odoo-dev/7.0-norecomputestoredm2ofuncfields-chs
[FIX] orm: do not recompute m2o stored function field at read.
2014-06-06 13:55:59 +02:00
Christophe Simonis 517162ce14 [FIX] orm: do not recompute m2o stored function field at read.
The get() method of m2o function fields is used for 2 different things:
 - call the function defining the m2o
 - get the name_get representation of the value

Until this pathc, only the first case was handled, resulting to a useless
recomputation of the field when reading it.
2014-06-06 10:53:42 +02:00
Oliver Laurent 306d5c89a0 [FIX] orm: do not resize unlimited char fields 2014-06-05 19:05:36 +02:00
Laurent Mignon 6788edcdd0 [FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the ock on the job before its execution to prevent running already executed job
Backport of fix made in trunk
2014-06-05 18:59:03 +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 426993e06d uninstall: avoid errors during uninstall
When uninstalling a module, remove the ir.model.constraint after removing the non-model records and before fields and model definition.
Without this fix, some constraint would be removed too early allowing to have broken relations and data left from removed module.
2014-06-05 12:52:11 +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
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
Denis Ledoux e61fb4d80a [FIX] base: security, do not override basic ir_config_paramter ACL 2014-06-02 13:00:36 +02:00
Denis Ledoux a7a51cf55d [FIX] base: security, group settings is authorized to alter ir.config_parameter 2014-06-02 12:57:57 +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 3f6f43214f [FIX] replace .bzrignore by .gitignore, as we are now working with git 2014-05-28 18:17:33 +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
Martin Trigaux c4d63fe364 Merge pull request #207 from joshuajan/7.0
'invoiced' fields help message is wrong
the purchase order is set as invoiced when every line has a validated invoiced.
2014-05-26 14:35:04 +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
Denis Ledoux f8671cb48a [REVERT] b6a7402fdb, pagereset seems to be useful in some cases. Need to check deeper 2014-05-22 16:17:04 +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 acca55b06b Merge pull request #124 from odoo-dev/7.0-aged-partner-partial-mat
[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 16:16:19 +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
Denis Ledoux b6a7402fdb [FIX] report: correct page numbering 2014-05-21 11:20:37 +02:00