Commit Graph
69 Commits
Author SHA1 Message Date
Cédric Krier fb22b4900a Fix for change price into unit_price on product supplier price 2008-10-23 17:35:46 +02:00
Bertrand Chenal 9dad32e211 Use unit_price instead of price on product supplier price 2008-10-23 17:32:16 +02:00
Cédric Krier f7248d2739 Rename relationship into party
Use party full_xxx
2008-10-22 20:12:14 +02:00
Bertrand Chenal 4994db3f23 Added exception message at quotation when adresses are missing 2008-10-15 00:10:41 +02:00
Cédric Krier 5f1669977f Use ir.date 2008-10-08 12:19:09 +02:00
Bertrand Chenal aa1fc6d17d merge 2008-10-06 15:46:05 +02:00
Bertrand Chenal 63adff4368 Add request on purchase field of line purchase model 2008-10-06 15:45:44 +02:00
Cédric Krier 2e067e496e Add on_change_quantity on purchase line for issue409 2008-10-03 15:05:33 +02:00
Cédric Krier 3a039cffe6 Use new supplier_taxes_used field 2008-10-01 17:54:12 +02:00
Cédric Krier a6e77b7413 If not delivery_time set purchase date to today 2008-10-01 13:10:25 +02:00
Cédric Krier 1e59b4de99 Change compute_supply_date to return the supply date and the next one
Add compute_purchase_date
2008-10-01 12:32:11 +02:00
Cédric Krier a4d0a3cd34 Add purchase_uom on product and use it as default value for purchase lines 2008-09-30 17:31:11 +02:00
Cédric Krier 08bc8b89eb Fix search on ir.model.data for new inherit field for issue394 2008-09-23 20:14:05 +02:00
Cédric Krier 7566c520db Add check for delete invoice that comes from a purchase 2008-09-19 18:06:15 +02:00
Cédric Krier ee0677e62a Improve on_change_with_amount if there is no currency 2008-09-18 12:13:26 +02:00
Cédric Krier 6e560d97dc Improve readonly states for currency
Set readonly only if there is a currency set
2008-09-18 12:13:05 +02:00
Cédric Krier b4ddf654fd Use new product.default_uom.category keyword for search on uom 2008-09-16 16:40:36 +02:00
Cédric Krier 50d151cd3c Improve field function on purchase to use the same BrowseRecordList 2008-09-13 14:18:05 +02:00
Cédric Krier 0cd45dc2e1 Add supplier field function on moves
Add supplier and purchase field on incoming moves of packing in
Add domain for supplier on incoming moves add/remove selection
2008-09-08 19:25:09 +02:00
Cédric Krier 3862204c58 Add delivery_time on product_supplier
Add compute_supply_date on product_supplier
Set the purchase date to the date of the Confirmation
Set the planned date on the moves
2008-09-05 18:47:02 +02:00
Cédric Krier 8fc447b574 Fix for new domain evaluation 2008-09-04 18:28:32 +02:00
Cédric Krier e2db0508ba Fix get_unit_digits to return always a value 2008-09-01 18:18:43 +02:00
Cédric Krier e8d4912599 Add on_change on unit for issue294 2008-09-01 11:02:49 +02:00
Cédric Krier 9edcfb7b54 Add context on product for stock computation in selection view
Add TODO to compute planned date of move
2008-09-01 11:02:29 +02:00
Cédric Krier c881bd17f9 Add party_lang for spell checking on comment fields 2008-08-29 18:59:36 +02:00
Cédric Krier 45ba03682c Add unit_digits on purchase line and use it for quantity 2008-08-26 18:50:02 +02:00
Cédric Krier 1870fa78f2 Add select on field that are used for search 2008-08-20 17:11:31 +02:00
Cédric Krier 757bb1d0ae Use id for vals instead of BrowseRecord 2008-08-20 17:06:03 +02:00
Cédric Krier de6b9e1c44 Fix guide lines 2008-08-20 17:05:27 +02:00
Cédric Krier 93e163b80c Remove unused variable 2008-08-20 17:04:58 +02:00
Cédric Krier d008e6485a Add domain on product for purchase line 2008-08-18 13:21:17 +02:00
Cédric Krier 9403f2c6dd Fix purchase with line without product
We search for a default property account_expense on product.template and
product.category
2008-08-15 17:23:42 +02:00
Cédric Krier b347d8d3a8 Add default value for currency_digits for issue256 2008-08-15 17:02:31 +02:00
Cédric Krier b7fdbe87a5 Improve get_purchase_price 2008-08-08 15:17:33 +02:00
Cédric Krier c0e7a25f4b Set company readonly when there is lines as taxes will depend of the company 2008-08-08 15:17:10 +02:00
Cédric Krier 918124529d Fix rename button_update into update_taxes 2008-08-04 19:18:14 +02:00
Cédric Krier 588b7f2771 Set default value for payment term if party doesn't have one 2008-08-04 19:15:28 +02:00
Cédric Krier 5752fbdbff Remove button_compute 2008-08-04 19:14:53 +02:00
Cédric Krier 4584b6dde2 Use domain of payment_term field for the search of default in prevention of
futur inherit that will add domain
2008-08-01 16:36:20 +02:00
Cédric Krier 1e6b71548c Add default value for payment_term and warehouse if there is only one 2008-08-01 16:30:52 +02:00
Cédric Krier 5ebe6db656 Add an on_change on lines of purchase to update untaxed_amount, tax_amout and
total_amount for issue185
2008-08-01 16:22:45 +02:00
Cédric Krier 4cef6486ea Improve get_tax_amount
- skip non line
- initialise context if not
2008-08-01 16:20:23 +02:00
Cédric Krier 23be3b57d4 Set currency readonly when there is lines because unit price depend of the
currency
2008-08-01 13:17:39 +02:00
Cédric Krier 477cec4e40 Better invoice method name 2008-08-01 11:31:28 +02:00
Cédric Krier 74a2f47310 Use digits string for amounts 2008-07-28 18:10:52 +02:00
Cédric Krier ac875777e7 Add on_change_with on amount of purchase line 2008-07-27 00:04:12 +02:00
Cédric Krier 5550bcb522 Remove rounding on each lines for tax computation 2008-07-25 16:37:27 +02:00
Cédric Krier 816b74c327 Add test on supplier location when creating move for issue205 2008-07-23 20:32:11 +02:00
Cédric Krier b5d9f35a30 Fix purchase for line without product 2008-07-23 15:31:49 +02:00
Bertrand Chenal 85b6ee28c9 Added context to compute_qty and compte_price call on uom object 2008-07-09 15:54:23 +02:00