Commit Graph

91677 Commits

Author SHA1 Message Date
Xavier Morel f302c123ea [IMP] doc: indexify index
* opt-in toc navification
* unhide index toctree, it's now back to a list of documents
* remove text thing
2014-11-17 14:07:36 +01:00
hiekmann 956bb08433 [fix] portal: typo in description
closes #3685
2014-11-17 11:31:27 +01:00
Josse Colpaert 2f5ca4380a Revert "[IMP] Remove unnecessary refresh statements because of new api"
This reverts commit b213438176.
2014-11-17 09:44:10 +01:00
Josse Colpaert b213438176 [IMP] Remove unnecessary refresh statements because of new api 2014-11-17 09:24:06 +01:00
Denis Ledoux c7d8e9726b [MERGE] forward port of branch saas-3 up to c571413 2014-11-14 18:02:02 +01:00
Denis Ledoux c5714135c2 [MERGE] forward port of branch 7.0 up to 922a52d 2014-11-14 17:59:00 +01:00
Denis Ledoux 922a52dcde [FIX] web: date autocompletion should not harcode 'date'
But should use date or datetime according to the widget type

This fix is related to 69d60465ee
2014-11-14 17:57:10 +01:00
Martin Trigaux 0a7633c11e [FIX] purchase: keep PO currency on picking
The delivery of a purchase order was not keeping the currency and cost price
from the purchase order for the reception. This was problematic for orders where
the invoice was generated from the picking (Invoicing Control: Based on incoming
shipments). The currency of the purchase order was kept while the cost was the
one in the company's currency.
It's better to keep the currency of the purchase order to make the invoice as
it's usually the one expected (and not convert everything to the currency of the
company). opw 615555
2014-11-14 17:29:40 +01:00
Denis Ledoux d9e48bae42 [MERGE] forward port of branch saas-3 up to 7ab4137 2014-11-14 16:58:24 +01:00
Jeremy Kersten eb2e53276a [FIX] layout - use company name for attribut alt of company logo 2014-11-14 16:19:33 +01:00
Denis Ledoux 7ab413724a [MERGE] forward port of branch 7.0 up to da15c9d 2014-11-14 15:59:33 +01:00
Denis Ledoux da15c9d27b [FIX] web: do not set the one2many dirty on field validation
This rev. 06104ba553

Added the dirty flag on the o2m field when the editor of the editable list was enabled (meaning that the editable list has been altered)) because the dirty flag was not set correctly by the one2many during the edition, at the time.

It looks like this is now the case

Besides, as now, we valid all the editable list of the form, wether or not the editable list was altered, we must not set the o2m as dirty anymore.
2014-11-14 15:52:58 +01:00
qdp-odoo 3540484138 [FIX] account: allow to use quantity in taxes computated with python code 2014-11-14 15:45:13 +01:00
ged-odoo 817ce8f912 [IMP] add link to write method in documentation 2014-11-14 14:38:15 +01:00
Denis Ledoux 3613b74df3 [FIX] point_of_sale: missing multi-company rule 2014-11-14 14:15:21 +01:00
Denis Ledoux 5b2f13abdf [FIX] product: more accurate name_search
First, name_search searches on default_code, then, if the limit is not reached, it searches on the product name
The results found from the default code search must be removed from the search domain when doing the search on the product name, to avoid having results already found by the search on the default_code

opw-618015
2014-11-14 13:42:52 +01:00
Martin Trigaux cf488682c8 [FIX] stock: multicompany reception
When a picking is confirmed, the generated account.move(.line) should take the
company, accounts, journals and period with the same company as the picking,
not the one of the current user.

This was problematic if a user in a company confirm a picking linked to
a purchase order done in another company.
For real time valuations, the generated accounting entries were mixing both
companies.

Fixes #3466
2014-11-14 12:24:40 +01:00
Martin Trigaux 7f4c4a5e8a [IMP] purchase: error message linked to product, not company 2014-11-14 12:24:31 +01:00
Jeremy Kersten f469e8e09f [FIX] layout: add alt on logo for seo 2014-11-14 11:13:38 +01:00
Josse Colpaert 911fa4a3f2 [IMP] Pass the invoice type from sale to picking for the sale_journal module that is installable again 2014-11-13 17:20:10 +01:00
Samus CTO 1a826e07fe [IMP] Speedup test account_assert_test.xml in account 2014-11-13 17:00:42 +01:00
Frederic van der Essen d30103c29e [FIX] point_of_sale: rounding error in discount computing + removing duplicated code 2014-11-13 16:07:52 +01:00
Martin Trigaux e826e84af5 [FIX] fleet: avoid function field computation order issues
The name of a vehicle is function field.
The field odometer on a vehicle has a a setter that creates an odometer.
The name of an odometer is a function field that uses the name of the vehicle.
If a vehicle is created with a value in odometer field, the odometer is created before the name is computed so the concatanation would fail.
Fixes #3468
2014-11-13 16:05:54 +01:00
Raphael Collet e038fec696 [IMP] models: improve performance of _setup_fields()
There was an issue in _setup_fields(): the method invokes _inherits_reload(),
which recomputes inherited fields, and invokes itself recursively on children
models.  This may be problematic if the children models have already been set
up.

This optimization avoids recursive calls of method _inherits_reload().  In
_setup_fields(), first all parent models are set up, then their fields are
inspected to determine inherited fields, and their setup is done.  This scheme
guarantees that inherited fields are computed once per model.
2014-11-13 14:54:04 +01:00
Raphael Collet 552dab0dc8 [FIX] models: simplify conditions that seem to lead to missing fields 2014-11-13 14:54:04 +01:00
Raphael Collet fc2975a9af [IMP] models: in _init_manual_fields(), create fields instead of columns
Note that serialized fields are ignored; they are no longer supported, anyway.
2014-11-13 14:54:04 +01:00
Raphael Collet 3c203703db [FIX] ir_model: always setup models before calling _auto_init() 2014-11-13 14:54:04 +01:00
Raphael Collet e3580ab884 [FIX] account_voucher: getting default invoice crashes
Fixes #3524.
2014-11-13 14:48:53 +01:00
Jeremy Kersten d978c78246 [FIX] website_sale: browse category to slugify. Because slug of an id will generate a tb 'need more than 1 value to unpack' 2014-11-13 14:48:30 +01:00
Jeremy Kersten 2e604c9d08 [FIX] mail_group: use default picture disc if not mimetype has been defined (else tb) 2014-11-13 14:48:13 +01:00
Raphael Collet b8071bbaca [FIX] addons: incorrect new-api invocation of method write() with context
This fixes #3411.
2014-11-13 13:34:55 +01:00
Josse Colpaert 124b0a3f5d Merge pull request #3601 from odoo-dev/8.0-wmsstagingx-jco
WMS STAGING X
- scheduler cursor and company_id
- digits in transfer wizard
 - delivery putting carrier on picking from sale and correctly invoicing it
- inventory import: imported lines should not be deleted
- average price correction for twice same product / variants
- recreate picking from sale order
- manual purchase order: picking type by default should depend on user's company
2014-11-13 12:24:01 +01:00
Frederic van der Essen 5d2ea60157 [FIX] point_of_sale: I see a chrome receipt and I want it painted black ;) 2014-11-13 12:03:32 +01:00
Josse Colpaert 94b768d30f [IMP] Update comments for inventory from import 2014-11-13 11:50:02 +01:00
Josse Colpaert d667d60c45 [IMP] When an inventory has lines already, don't delete them, that way we can import them
[IMP] Put the theoretical quantity when importing an inventory
2014-11-13 11:50:02 +01:00
Josse Colpaert 518b2f6a3f [FIX] super of scheduler / delivery method and phantom boms / average price
[FIX] super of scheduler should have same params + use_new_cursor should be passed to procure orderpoint confirm

[IMP] Make sure the delivery works when doing phantom boms

[FIX] This should update the average price properly when having multiple moves with the same product

[FIX] Average price should take into account the quantities of all variants

[FIX] Make sure purchase picking type in other company works

[IMP] Views of quants and destination locations of moves
2014-11-13 11:50:01 +01:00
Josse Colpaert 6b9668520c [FIX] Method should pass the correct objects for adding the line for the delivery method when invoicing based on shipments 2014-11-13 11:50:01 +01:00
Josse Colpaert 86f785ae1b [FIX] #3153 Digits in wizard should be those of moves,... / Recreate delivery order from sale / Delivery method on delivery order
[IMP] Provide better purchase order picking type

[IMP] Possibly a better product uos handling in the sale order line

[FIX] Recreate of delivery order when sales order in shipping exception

[FIX] Delivery method should be passed to delivery order
2014-11-13 11:50:01 +01:00
grzegorz-openglobe 15763ebf28 [IMP] l10n_pl: backport of fd86b7a to 8.0
[IMP] l10n_pl: some corrections in Polish CoA

PLN as default currency
Many improvements in taxes and fiscal positions
Fixes #825
2014-11-13 11:38:12 +01:00
Martin Trigaux ef55d19e34 [FIX] hr_timehseet: restrict access right
Fix error while moving it at ca209eb
2014-11-13 11:26:44 +01:00
Rifakat Haradwala 69d60465ee [FIX] web: date autocompletion should use user's locale
search bar does not suggest date field format based on user's locale and always shows based on mmddyy using Date.parse,  opw:615276

Note: starting in 9.0, datejs has been replaced by momentjs, so this
problem should be solved in a better way.
2014-11-13 11:12:49 +01:00
Rucha Dave ca209eb184 [FIX] hr_timesheet(_sheet): access rights on report
hr.timesheet.report was moved from hr_timesheet_sheet to hr_timesheet but not the ir.model.access
Avoid warning "The model hr.timesheet.report has no access rules, consider adding one."
Fixes #3319
2014-11-13 11:03:22 +01:00
Christophe Simonis 83bd9ee16b [FIX] account: give "Invoice" users access to "Invoice Analysis" Report.
This access is required in order to display the amount invoiced on partner form
2014-11-12 19:25:50 +01:00
Olivier Dony 3d88a60c2e [FIX] account.invoice report: show customer description of payment term
The payment term description (note) is meant
to be shown to customers. Restore it in the
default invoice report, as it was in 7.0.
If empty, assume the payment term is meant
to be hidden from customer, and do not show
anything.
By default the description includes the name
of the payment term, so no need to keep both.
2014-11-12 18:50:38 +01:00
Frédéric Van der Essen 16900c8ac4 Merge pull request #3220 from odoo-dev/7.0-opw-615322-rgo
[FIX] point_of_sale: fixed rounding issue for pos order when discount ad...
2014-11-12 17:58:07 +01:00
Denis Ledoux 654ce2bb13 [FIX] stock: do not try to upper undefined picking name
opw-617750
2014-11-12 12:21:58 +01:00
Yajo 4d70b2ba8b [FIX] crm: Pending calls are also "To Do" 2014-11-12 12:10:10 +01:00
Christophe Simonis e74fb09a00 [MERGE] forward port of branch 7.0 up to ab5ecef 2014-11-12 10:56:38 +01:00
hiekmann f55a45b0fb [FIX] payment_*: typo, cliking -> clicking 2014-11-12 10:31:29 +01:00
Frederic van der Essen 95e79c9f6f [FIX] point_of_sale: use 'Product Price' decimal precision for product prices 2014-11-11 19:32:52 +01:00