Commit Graph
4146 Commits
Author SHA1 Message Date
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
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
Fabien Pinckaers 73f74a863a [IMP] Workding of tips 2015-09-05 16:50:59 +02:00
Fabien Pinckaers 3658a894bc [IMP] modules description, no external link 2015-09-04 11:59:55 +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
Nicolas Martinelli 8a4df03308 [DEL] purchase*: remove deprecated translations
Reason: complete rewrite of the Purchase module
2015-09-02 08:12:32 +02:00
qdp-odoo 0ab61579fa [FIX] purchase: fixed test after the behavior changed in previous commit (e4dc50b) 2015-08-31 17:05:07 +02:00
qdp-odoo e4dc50bf58 [IMP] pricelists improvements. Was PR #8228 2015-08-31 16:57:32 +02:00
Christophe Simonis edeceba7df [MERGE] forward port of branch saas-6 up to 7a768a4
Due to `sale` rewrite (94716a3f14),
the commit 503820acb6 has been partially
ignored (in sale.order.line) and will be rewritten later using new-api.
2015-08-28 15:07:16 +02:00
Nicolas Martinelli 74beff7201 [FIX] purchase: fix traceback
invoice_state does not exist anymore
2015-08-28 14:00:19 +02:00
Christophe Simonis 6d85a9a4b9 [MERGE] forward port of branch 8.0 up to d744923 2015-08-27 18:30:46 +02:00
Nicolas Martinelli 699f95a8c7 [IMP] purchase: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:15:24 +02:00
Pedro M. Baeza 617ef49959 [IMP] purchase: Hook for the base price of a purchase line
To be able to change the logic without copying large chunk of code
Closes #1468
2015-08-27 17:42:20 +02:00
Denis Ledoux 13010ed992 [FIX] purchase: timezone aware dates in PO emails
This rev. is related to b3e6065385a7ba5f914c258cd746b028d92801d

opw-647775
2015-08-27 14:34:58 +02:00
Denis Ledoux af07b2a075 [MERGE] forward port of branch 8.0 up to 42ecf5e 2015-08-26 14:05:17 +02:00
Goffin Simon 503820acb6 [FIX] account, purchase, sale: included taxes
-account:_fix_tax_included_price
If a fiscal position mapped an included tax on a SO or on a PO line
then the price unit of the product must be recomputed.

-purchase: onchange_product_id test
Test that when an included tax is mapped by a fiscal position, the included tax must be
subtracted to the price of the product.

-sale:product_id_change test
Test that when an included tax is mapped by a fiscal position, the included tax must be
subtracted to the price of the product.

opw:647321
2015-08-26 09:02:39 +02:00
Yannick Tivisse 0f3f8dec9b [REM] Remove res_partner_22, replace him by res_partner_1 2015-08-25 19:27:23 +02:00
Yannick Tivisse a0c82f9450 [REM] Remove res_partner_19, replace him by res_partner_2 2015-08-25 19:27:22 +02:00
Yannick Tivisse dfbc51135c [REM] Remove res_partner_13, replace him by res_partner_2 2015-08-25 19:27:21 +02:00
Martin Trigaux 6c51a80aa4 [I18N] export application terms of all modules 2015-08-25 12:01:38 +02:00
Prashent Panchal af9d21b379 [REF] product: update and form cleaning
Among a lot of views tweakings and cleaning, some changes are listed here.

product
- add currency_id, taken from the company

stock
- procurement request and inveotry adjustement wizards now correctly work
  on product and templates with 1 or more variants. With one product the product
  field is readonly, with a template and/or a product with variants the
  product field is limited to the existing varians.
- valuation and cost method fields on the templates now come from property
  fields defined on the template, or from property fields defined on the
  product category. It allows to define those fields directly from the
  category.Among a lot of views tweakings and cleaning, some changes are listed here.

membership
-  details not visible in the default product view. However there is a specific view
to use in (membership / configuration / create member product)
2015-08-25 11:06:29 +02:00
Thibault Delavallée 59f448a3ca [IMP] product and misc: type field cleaning
Now using a method for the selection. This method is overriden in
various addons to add specific selection entries instead of
completely hardcoding the values. Indeed this breaks inheritance.

Some views have been updated to try to make the various attributes
more inheritable-friendly.
2015-08-25 11:06:23 +02:00
Christophe Simonis 88c0ce0692 [MERGE] forward port of branch saas-6 up to e16d495 2015-08-24 18:19:19 +02:00
Christophe Simonis e16d495d89 [MERGE] forward port of branch 8.0 up to 6947313 2015-08-24 12:36:46 +02:00
Goffin Simon 6947313cd0 [FIX] purchase: customer lang
Introduced by f7f18ba5b1
The lang of the customer must be used.
In the drop shipping use case (order.location_id.usage == 'customer'), the customer
is in the destination address of the order (order.dest_address_id).

opw:647628
2015-08-24 11:37:09 +02:00
Thibault Delavallée cae29df7d9 [CLEAN] product and various: light model / code cleaning
Main changes summarized

product
- [REM] weight_net field. Weight net is removed from the product model.
Indeed a product should be modeled without its possible packaging data.
Moreover in the codebase the weight_net field is not really used.
- unused import
- removed _common.py file holding wrappers for tools (rouding and
ceiling), used only once in the codebase

purchase
- unused imports

purchase_requisition
- dead code
- purchase_requisition: from boolean to selection, because V > M

stock
- [REM] qty_available2, logic, loc_rack, loc_row, loc_case fields. location_id
and warehouse_id moved from the product to the template to ease the
configuration.
- [ADD] description_picking field

stock_account
- [REM] date_account field on stock.inventory

misc wording (sale_margin, ...), notably Cost Price renamed to Cost.
2015-08-24 10:46:38 +02:00
Odoo Translation Bot 99931637d5 [I18N] Update translation terms from Transifex 2015-08-23 01:51:13 +02:00
Christophe Simonis 7bc53eeb49 [FIX] purchase: typo introduced in b2062df
I should learn how to spell "procurement"
2015-08-21 17:29:05 +02:00
Christophe Simonis b2062df319 [MERGE] forward port of branch 8.0 up to 86f98d5 2015-08-21 17:01:17 +02:00
Thibault Delavallée 88b8cd0587 [REF] mail: model update for NewChatter
Main changes :
- mail.notification model is removed. People do not receive notifications
anymore. Instead two ways of following documents exist
  - using a channel; messages will be displayed on the channel itself
  in a near future commit
  - following with its partner; messages will all be considered as
  needaction, using a new m2m table. People should receive less
  needaction messages by following less records by themselves.
There is no more read / unread state anymore. Instead only needaction
messages are considered. Todo (Favorites) messages still exist, and are
stores on a new m2m table instead of using decorated notifciations.
- the main filter for documents is not message_unread anymore, but
message_needaction. A lot of views and filters have been updated
accordingly.
- the vote feature has been removed
2015-08-21 12:11:56 +02:00
Yannick Tivisse 1617db3337 [IMP] Modules list reorganization to correspond with the app switcher. 2015-08-21 10:44:51 +02:00
Yannick Tivisse 0decfd94d1 [IMP] __openerp.py__ files : remove all occurence of authors and website
where it was 'Odoo SA', 'OpenERP SA', 'OpenERP s.a.', 'OpenERP SA', 'OpenERP'
      or 'http(s)://openerp.com' or 'http(s)://www.odoo.com'
2015-08-20 16:15:59 +02:00
Goffin Simon f7f18ba5b1 [FIX] purchase: description of a product
When a move is creating from a purchase order line and the destination
of the order("location_id") is "customer", the description of the created
move must be the name of the product. To avoid that the supplier description
of the product appears on the customer invoice because in "drop shipping",
the customer invoice line is created with this created move by the function
"_get_invoice_line_vals".

opw:647628
2015-08-20 11:24:53 +02:00
qdp-odoo 6cb6f43c2b [REF] base: simplified res.partner.bank and res.bank objects for a greater usability + [IMP] account: bank journals are now the bank accounts of a company 2015-08-19 15:44:59 +02:00
Ronak Baxi 393f136509 [IMP] *: Uniformize all modal footers
The main button has classnames btn btn-primary.
Other buttons have classnames btn btn-default.
No more 'or' between the buttons.
2015-08-19 08:10:45 +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