Commit Graph
4178 Commits
Author SHA1 Message Date
Martin Trigaux 70c93bf6d2 [FIX] OpenERP -> Odoo
In description source module
2015-09-28 17:21:26 +02:00
Odoo Translation Bot 3dec9e5804 [I18N] Update translation terms from Transifex 2015-09-27 03:07:16 +02:00
Nicolas Martinelli 9577f4e419 [REF] product: do not use selected_seller_id
The function field selected_seller_id is removed  and must be replaced
by a direct call to method `_select_seller`. This is more conventional
than the previous 'browse with context' way of doing.
2015-09-25 11:34:01 +02:00
Nicolas Martinelli b65c67a259 [IMP] product: new product_id field on supplierinfo
We introduce a new field on supplierinfo: product_id. Thanks to this
field, the vendor information which will be used in a purchase order can
be specific to the product variant.
2015-09-25 11:34:01 +02:00
Christophe Simonis 57168a9e90 [MERGE] forward port of branch saas-6 up to a669433 2015-09-23 14:34:26 +02:00
Josse Colpaert 7743af00bf [IMP] purchase: show the invoice/picking immediately if only 1, otherwise show list 2015-09-23 13:41:13 +02:00
Valerie Pirenne dbe3d8035f [FIX] purchase: advanced calls for tenders
add option in res_config to have advance mode for call for tender (option was lost in commit: 3d8f7c2f24)
+ fix errors in method that used old po_line state
+ change icon to font-awesome icons
2015-09-23 11:59:16 +02:00
Nicolas Martinelli 5d96a5f234 [IMP] purchase: multiple improvements
1) Remove unnecessary comparison

If the minimum quantity required by the supplier is not met, the
supplier is not chosen. So it is not necessary to compare the quantity
of the supplier after the browse.

2) Ignore AccessError when adding to new supplier to product

This should not block the user to confirm the PO.
2015-09-22 16:24:11 +02:00
Odoo Translation Bot b85dd39814 [I18N] Update translation terms from Transifex 2015-09-20 03:04:41 +02:00
Martin Trigaux 387ff476dc [I18N] all: reexport translatable source terms 2015-09-18 10:40:52 +02:00
qsm-odoo 9e8e1b3de7 [REF] *: product categories templates
* = (product,purchase,stock,account,stock_account)
2015-09-17 17:32:02 +02:00
Nicolas Martinelli 86400364af [IMP] product, purchase: demo data
With the new pricelist system, a price should be specified for any
supplier, otherwise the price chosen for a PO is zero.

Also add unit price for existing PO
2015-09-17 15:17:35 +02:00
Nicolas Martinelli f4b44395a0 [FIX] purchase: correct implementation of _amount_all
`@api.multi` methods should iterate over all records in self.
2015-09-17 15:08:01 +02:00
Cedric Snauwaert 3659c0113b [FIX] purchase: fix purchase test to work with new accounting if no coa installed.
add the stock_journal property in the yml test and make python test depends from AccountingTestCase to prevent errors when launching these test without a localisation. Also raise error in code if no stock_journal is found.
2015-09-17 11:37:47 +02:00
Nicolas Martinelli b229ab0a5b [FIX] purchase, sale_*: multiple fixes
- Use Many2many computed field instead of One2many: One2many should be
  an inverse of a Many2one
- Convert deprecated @api.one to @api.multi
- Minor simplifications in computed fields
2015-09-17 10:43:10 +02:00
Nicolas Martinelli 4449984c75 [REF] purchase: better overriding possibilities 2015-09-16 14:51:51 +02:00
Yannick Tivisse e176b4a22e [IMP] Purchase: Add a group in res_config to display 'Vendors Pricelists' menuitem 2015-09-16 10:07:55 +02:00
Nicolas Martinelli 800aedee22 [IMP] sale, purchase: better tooltip for "Set to Done" 2015-09-15 14:35:20 +02:00
Martin Trigaux 1348fee217 [I18N] all: regenerate .pot and pull .po
How great is it to get Odoo (almost) 9.0 (almost) translated?

Clean .tx/config file
Regenerate .pot files
Fetch current translations from Transifex (10% completion)
2015-09-14 17:53:37 +02:00
Christophe Simonis 88eaa7dad8 [MERGE] forward port of branch 8.0 up to 35233db 2015-09-11 17:28:07 +02:00
Goffin Simon 9e2062a74b [FIX] purchase: _create_invoice_line_from_vals
When creating a SO in dropshipping with 'create invoice' = 'on delivery order',
the resulting invoice must not be linked to the PO but to the SO created.
Inspired from '_create_invoice_line_from_vals' in addons/sale_stock/sale_stock.py

opw:647628
2015-09-11 15:41:33 +02:00
Denis Ledoux 9ad357553d [FIX] mass_mailing: missing auto_commit in send_mail overrides
The argument `auto_commit` was omitted in `send_mail` overrides.
`auto_commit` was therefore allmost always `False` when
reaching the `send` method of model `mail.mail`,
in `mail/mail_mail.py`. At least it was when either
`sale`, `purchase` or `account` were installed.

Not committing the sql transaction leaded to the fact
the mail statistics were never created when the queue
process was interrupted (e.g. process time limit reached),
and knowing if an email in a mass mailing has already been sent or not
is based on the fact the mail statistics exists or not.

Therefore, if a mass mailing sending process was interrupted,
the emails were re-sent over and over.

opw-649106
2015-09-11 14:18:45 +02:00
Martin Geubelle eb6c3f6288 [IMP] use monetary widget in all concerned kanban views 2015-09-10 18:07:52 +02:00
Nicolas Martinelli 3e57405ff0 [FIX] purchase: track state and _amount_all depends 2015-09-10 14:15:01 +02:00
Goffin Simon c092c40d14 [FIX] purchase: _calc_new_qty_price
The price must be compute with the purchase unit of measure set
on the product because qty is computed according to this unit of
measure.

opw:648513
2015-09-09 10:53:48 +02:00
Odoo Translation Bot 101540b491 [I18N] Update translation terms from Transifex
Fetch the translations with the option --all to fetch missing languages
and use --minimum-perc 10 to avoid empty files

Fixes #8423
2015-09-08 17:07:59 +02:00
mdi-odoo 620bf116d8 [IMP] sale, purchase: the return of mail.template (Sale order, and purchase RFQ)
These templates were deleted with c04065abd8 but there xml_id were still used in the code. Mail template are good for people, so we make them come back from the dead ...
2015-09-08 16:57:51 +02:00
Yannick Tivisse 25da2802f4 [FIX] purchase: Layout issue on purchase order lines form view 2015-09-07 18:25:50 +02:00
Yannick Tivisse 2cf5f59819 [IMP] Purchase: don't display stat buttons if PO not confirmed 2015-09-07 18:25:50 +02:00
Yannick Tivisse 877c3b3b1b [IMP] purchase: Set product_qty = 1 by default on purchase order lines 2015-09-07 18:25:50 +02:00
Yannick Tivisse 831073e153 [IMP] purchase: Rename purchase order state 2015-09-07 18:25:50 +02:00
Martin Trigaux 613286b0e8 [I18N] export application terms of all modules
Now that most refactoring has been merged

It is better to have red a great work of another culture in translation than never to have read it at all.
― Henry Gratton Doyle
2015-09-07 17:21:58 +02:00
Nicolas Martinelli 0a97702fea [ADD] purchase: add test to check new functionalities 2015-09-07 15:11:47 +02:00
Nicolas Martinelli fa66886a7e [IMP] purchase: multiple improvements
- Add several PO to an invoice
- Add supplier to product if there is less than 10 suppliers
- In the invoice, write a line with a zero quantity instead of
  displaying the warning. Usefule if invoice received before delivery.
- Domain of for PO includes child of partner
- Remove unnecessary related field
2015-09-07 15:11:47 +02:00
Yannick Tivisse 0ce0c6f095 [IMP] Remove oe_inline in h1 fiels to expend the field width 2015-09-07 13:27:17 +02:00
Martin Trigaux f8daf6fb31 [I18N] synchronise Basque and Ecuador translations
They were new languages, needed a manual fetching.
Fixes #8363
2015-09-07 12:26:51 +02:00
Nicolas Martinelli 367cacfc7e [FIX] purchase: use proper uom and currency
The UoM and the currency of a product depends on the vendor. Therefore,
before searching for the price and minimum quantity we need to know
this information in order to do a correct comparison.
2015-09-06 22:03:23 +02:00
Nicolas Martinelli b0c06e21e3 [IMP] purchase: double validation minimum amount 2015-09-06 22:03:15 +02:00
Nicolas Martinelli b0d5d0e803 [FIX] purchase: use proper state to track 2015-09-06 20:43:04 +02:00
Fabien Pinckaers b254dad803 [IMP] Purchase name_search/get to ease search on Vendor Refernce in supplier bill 2015-09-06 17:36:05 +02:00
Odoo Translation Bot 927c00525c [I18N] Update translation terms from Transifex 2015-09-06 01:50:52 +02:00
Fabien Pinckaers 73f74a863a [IMP] Workding of tips 2015-09-05 16:50:59 +02:00
Christophe Simonis 3bb0cb2a50 [MERGE] forward port of branch 8.0 up to 9c8b99a 2015-09-04 18:30:48 +02:00
Fabien Pinckaers 3658a894bc [IMP] modules description, no external link 2015-09-04 11:59:55 +02:00
Nicolas Lempereur a69af9c908 [FIX] addons: propagate context when get sequence
With 3e82c94d we use the timezone in the context to format date
sequences when formatting an ir.sequence.

This commit adds the other missing context when getting a sequence, so
these sequences are also dependant on the timezone.

closes #8351
opw-646487
2015-09-03 13:58:01 +02:00
Nicolas Martinelli e4d14110ad [ADD] purchase: auto add partner to vendors
If a product has no vendor, the partner of the PO will be added as a
vendor for the product during the confirmation of the PO.
2015-09-03 13:15:16 +02:00
Nicolas Martinelli 3f48d2b6c4 [ADD] purchase: add the two-step validation process
Two-step validation process is set up at the level of the company.
2015-09-03 13:15:16 +02:00
Nicolas Martinelli ffa4027a4e [FIX] purchase: _get_name_price_quantity_date takes date string 2015-09-02 19:35:12 +02:00
Nicolas Martinelli bc1663ff53 [FIX] purchase: remove double validation from config 2015-09-02 19:35:12 +02:00
Nicolas Martinelli cb01be235e [IMP] purchase: adaptation due to the new Purchase module
Major changes:
- No generation of invoice from PO
- Remove workflow

Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:19:56 +02:00