Commit Graph
99161 Commits
Author SHA1 Message Date
qdp-odoo 5baa2d19fa [FIX] l10n_ch is back, compliant with the new accounting 2015-08-18 11:59:29 +02:00
qdp-odoo 9c762b19eb [FIX] l10n_cr is back, compliant with the new accounting 2015-08-18 11:59:29 +02:00
qdp-odoo 28e47a85b0 [FIX] l10n_ar: fixed exchange rate accounts 2015-08-18 11:59:29 +02:00
qdp-odoo bbe1979429 [FIX] l10n_cl is back, compliant with the new accounting 2015-08-18 11:59:29 +02:00
Goffin Simon ad253a3386 [FIX] purchase, stock_dropshipping: origin in PO
When a product is in "dropshipping" with one supplier and with a few SO
created for the same customer, the origin of the resulting PO must
include all the SO names.

opw:647409
2015-08-18 11:01:27 +02:00
Géry Debongnie b417c1e338 [FIX] web_kanban: correctly set id when adding record
fixes issue 644638

when adding a new column, then creating a new record, the idea was not set properly.
2015-08-18 10:56:36 +02:00
Gaurav Panchal 6b55539dc7 [IMP] res_partner: form view cleaning
Better display of contacts, simplified contact creation, use default image
for shipping and delivery, and various fixes and improvements in the
form view.

Main impacted addons :

 - account: add a bank_account_count field and stat button that replaces the
 2many field
 - base_vat: remove the button to check vat, as there is already a constraint
 and removed and unused import
 - payment: add a payment_method_count field and stat button that replaces
 the 2many field
2015-08-18 10:51:27 +02:00
Gaurav Panchal 43839a8433 [IMP] res_partner: address update
Simplify contact / addresses management. Contact now use the same
address as their parent. Invoice, delivery and other contacts
have their own address. Default contact is removed; the default
is now contact.

As contact automatically use the company address, and other types
use their own, use_parent_address field is removed, leading to
some simplification in the address management.

Also add company_type field, to have a selection field instead of a
boolean one when display company / person choice. This is an interface
field build on the is_company field, to create the minimum change
and avoid disturbing the logic based on is_company. When migrating
to the new API, its implementation will be cleaned.
2015-08-18 10:51:27 +02:00
Joren Van Onder c59e06d572 [IMP] pos_mercury: add phone number to the Mercury configuration
Make it as easy as possible for users to create a MercuryPay account.
2015-08-18 10:23:56 +02:00
pvy 698f750db9 [FIX] l10n_sg is back, compliant with the new accounting 2015-08-18 10:00:46 +02:00
pvy 496c0eb51d [FIX] l10n_ve is back, compliant with the new accounting 2015-08-18 10:00:06 +02:00
Joren Van Onder 41929bd997 [IMP] point_of_sale: posbox_create_image fixes
- set keyboard layout to us
- install GNU screen
- add udev rules to make USB devices accessible to the usbusers group
- setup crontab to delete odoo sessions/*
- define inputrc and vimrc
2015-08-17 21:26:53 +02:00
Laetitia Gangloff 607114ff00 [FIX] stock: Scheduled / Max. Expected date change on picking when changed in its moves
When changing the min_date / max_date in a move,
the date change wasn't propagated to its picking.

The use of store triggers is needed in such a case,
`store=True` isn't enough

Fixes #1862
Closes #3278
2015-08-17 18:04:13 +02:00
David Monjoie 8c31ecd368 [REV] website_crm,website_sale: revert afc9507
The website_crm module doesn't depend on website_sale, so the
salesteam_id field may not exist on website in contactus.

There is clearly a strange overlap with the website salesteam
between website_crm and website_sale, as indicated by the xml_id's.

The previous version didn't crash when the xml_id was not found,
though, while this one would always crash when you try to use
website_crm without website_sale, so I prefer to revert it.

A proper fix would be to set the salesteam at the level of the
website module, but I'm not sure it would make sense considering
that it wouldn't be used at all unless you happen to install one
of those two modules.

In the meantime, I'm reverting afc9507f3a.
2015-08-17 17:02:09 +02:00
Olivier Dony c2cbb75319 [FIX] web: _serve_attachment should not trigger redirect loops
When the Bundle mechanism caches bundle files into the
ir.attachment table, it can sometimes cache an empty
resource file (For example, if a less/saas compiled file
results in an empty CSS file) for the bundle URL.
The appropriate behavior for _serve_attachment()
when the browser loads that bundle URL is to return
an empty file (which is the correct content), instead of
redirecting again to the same URL, triggering a loop.

In addition, this commit removes the special case for
returning 204 No Content. This HTTP status code is not
really meant for GET requests - returning an empty file
with a 304 or 200 code is more appropriate and allows
for normal browser caching.
2015-08-17 17:01:19 +02:00
Maxime Chambreuil b541187345 [FIX] l10n_ca: no attempt to re-create input/output accounts properties
Deleting the properties for the default accounts
in the root product category and then
updating the l10n_ca module leaded to a crash
due to the fact the module tried to re-create
the properties as they were no longer there.

Fixes #3130
Closes #3131
2015-08-17 16:44:09 +02:00
Cedric Snauwaert 5d18080d3c [FIX] account_tax_python: fix possible security injection 2015-08-17 16:37:44 +02:00
Christophe Matthieu 03e982b93f [FIX] web: need to initialize values into the cache 2015-08-17 16:17:22 +02:00
Lionel Sausin (Numérigraphe) 7a6e94edd8 [IMP] list_databases: Ignore special databases
Automatically ignore template databases identified in Postgres,
and databases where connexion is not allowed
2015-08-17 15:17:51 +02:00
Thomas Groutars d861cdc1c4 [ADD] account: add tax_group on invoice to make reporting easier + create tax_group retention for l10n_co 2015-08-17 15:06:48 +02:00
Aaron Bohy 7e3d98f4a8 [FIX] web,base: list view: limit
Before this rev., the number of records per page to display in list views
could be specified in the action definition, but it didn't work for One2Many
list views (because they are instanciated by a FormView, which isn't supposed
to have a reference to the action, instead of the ActionManager as regular
list views).

This rev. allows to specify the list_view's limit directly in the definition
of the view, and not only on the action as before.
2015-08-17 13:41:27 +02:00
Christophe Simonis 37d1af5244 [FIX] payment_ogone: correct transaction verification
For form-based transactions (not s2s), store  the PAYID when ogone
contact us via the feedback url.
Correct retry of verification (and do it quicker)
2015-08-17 12:07:39 +02:00
Martin Geubelle 638db1f085 [IMP] crm: improve crm.team kanban view
Hide stuff corresponding to opportunities if use_opportunities is False
2015-08-17 11:17:05 +02:00
Denis Ledoux 3fe707d72e [FIX] website_sale: Publish button on the product variant form.
The method `website_publish_button` was available on the `product.template`
(through the inherit from `website.published.mixin`)
but it wasn't on `product.product`, because this model
is an `inherits` of `product.template`, and not a simple `inherit`,
and the method is simply not available directly through
the `inherits`.

opw-647419
2015-08-17 10:49:50 +02:00
Christophe Matthieu ea3bfe1bd5 [FIX] web: readonly fields not transferred from dialog to 2many field
Transfer options to 'data_create' and 'data_update'
Add tour to check the fix
2015-08-17 10:17:58 +02:00
Christophe Matthieu dd4566de37 [FIX] website: remove col-md-12 obsolete bootstrap fix 2015-08-17 10:13:00 +02:00
Christophe Matthieu 384d717dcd [FIX] website: remove col-md-12 obsolete bootstrap fix 2015-08-17 10:12:15 +02:00
Denis Ledoux 8caa7a4dac [FIX] delivery: fpos_obj is not defined
The `fpos_obj` variable assignation has been removed
during the forward port 3d26eb02ab
while it was still being used.

opw-647418
2015-08-17 10:02:37 +02:00
Aaron Bohy b1705b1915 [FIX] web: debug manager: view metadata
the modal content should now be given in the options
2015-08-17 09:40:37 +02:00
Aaron Bohy 6658c65851 [IMP] web_calendar: quick create: generic text
as the quick create is also used to create e.g. leads, not only events.
2015-08-17 09:27:44 +02:00
Odoo Translation Bot 4359f65522 [I18N] Update translation terms from Transifex 2015-08-16 01:58:03 +02:00
Christophe Simonis 98ef7e29f3 [FIX] web: correct x2many js test tour.
Now that users are ordered by name, we need to explictly choose the
correct participants.
2015-08-16 00:52:04 +02:00
Christophe Simonis 1009eeda78 [FIX] ajax.js: stringify error for debugging help 2015-08-16 00:51:43 +02:00
Christophe Simonis cf33db868e [FIX] js tests: log full DOM on error 2015-08-15 18:25:56 +02:00
Christophe Simonis 7bf07f928e [FIX] fields: correct m2m query generation to handle translations 2015-08-15 16:57:35 +02:00
Christophe Simonis 73e652818b [MERGE] forward port of branch saas-6 up to 8d95f6d 2015-08-15 16:57:35 +02:00
Denis Baranov c0c272c4a8 [FIX] mass_mailing: add attachment in mass mailing test
When testing the mass mailing, with the 'Test Mailing'
button, the attachments were just not attached.

Closes #2981
2015-08-14 17:39:22 +02:00
Denis Baranov b8f177ddeb [CLA] IT Libertas corporate 2015-08-14 17:39:22 +02:00
Christophe Simonis 8d95f6dcdf [MERGE] forward port of branch 8.0 up to 19b5ba2 2015-08-14 17:26:04 +02:00
Denis Ledoux 19b5ba2b08 [FIX] website: condition to flag a menu as active in the top menu
1. A menu with `/page/website.***` should be flagged as `active`
if the current url is `/page/***`. This is a retro-compatibility
patch for c9d41679fb, so the
menu is marked as active without having to rename it, by
removing this `website.` thing.

2. If you defined two menus with as url `/page/test` and `/page/test2`
Both menus were flagged as `active` when you browsed the url
`/page/test2`, because it started by both menus urls.

Fixes #3059
Closes #3070
2015-08-14 17:11:16 +02:00
Mathias Neef c9d41679fb [FIX] website*: active class in menu
In the top menu bar, the `active` class is set when the
menu url matches the page url (the url in the browser url bar)

A while ago, we made so all urls
`/page/website.***'
were automatically redirected to
`/page/****`

Therefore, if the menu url still contains this `website.` prefix,
the active class wasn't set on it, while it should.

Fixes #3059
Closes #3070
2015-08-14 17:10:46 +02:00
Goffin Simon e4742f3d1f [FIX] mass_mailing: Newsletter
Using bootstrap classes.

opw:647204
2015-08-14 16:55:33 +02:00
Thomas Groutars 9979939cd1 [IMP] ir_model: add table and columns fields for many2many fields
The fields are properly reflected for base many2many fields.  Moreover, the
code has been improved to remove a custom many2many field whose table is still
used by another field.

Onchange methods have been added:
- When name, model and comodel are chosen, propose table and column names.
- When table is modified, propose column names if the table is already used by
  another many2many field.
2015-08-14 16:37:29 +02:00
Raphael Collet eadc08f531 [FIX] models: default value is lost when sharing field with another class 2015-08-14 16:30:45 +02:00
Aaron Bohy 3758e65b2b [FIX] web_kanban: remove unreachable return
introduced by forwardport fe2b5f35.
2015-08-14 16:29:45 +02:00
Aaron Bohy 316772e91c [IMP] crm: next activity buttons style
Remove pipes as they broke the layout in the new design (a little bit in the
old one as well...)
2015-08-14 16:29:45 +02:00
Aaron Bohy fc3a903dbf [FIX] web: oe_button: don't override bootstrap rules
Remove the style defined on oe_button as it overrides bootstrap rules like
btn-primary, btn-default...
2015-08-14 16:29:44 +02:00
Aaron Bohy 63f9cf58a7 [IMP] account: reconciliation: remove unused classname 2015-08-14 16:29:44 +02:00
Christophe Simonis 0f2c7fa4ab [MERGE] forward port of branch saas-3 up to e95e9f8 2015-08-14 16:02:57 +02:00
Christophe Simonis e95e9f8878 [MERGE] forward port of branch 7.0 up to 11cd8ba 2015-08-14 16:02:31 +02:00