twanda / vertical-agriculture

Verticalization of Odoo for farms and agroindustries
GNU Affero General Public License v3.0
0 stars 1 forks source link

Additional informations on Farmer lots #36

Closed dastcaboz closed 2 years ago

dastcaboz commented 2 years ago

For specific reportings to the authorities we need to integrate additional informations for each farmer lot.

1) the date of the purchase by the buying agent from the farmer. This date may differ from the delivery to our warehouse.

2) the number of bags we puchased from the farmer. Let this be a simple numeric field.

treviser commented 2 years ago

@candidroot This 2 fields have only informational purpose and must be entered manually for each lot at the creation of the lot.

candidroot commented 2 years ago

@treviser Hello we add two field in stock production lot form view please have look and let me know is there any update .. thanks

treviser commented 2 years ago

image

It is ok in the stock production lot form, but for easy entering the data, we need it in the receipt form detailed operation.

treviser commented 2 years ago

@dastcaboz Please check and mark as solved if successful:

image

candidroot commented 2 years ago

@treviser Hello Here we can use same two new field which define in "stock production lot" So for that you need to select lot_id in "Detailed Operation" instead of use Lot/Serial Number Name, You can configure from below screen shot

image

Please let me know for more updates...

treviser commented 2 years ago

@candidroot I do not really understand what you mean. I have created a new PO00059 for Magasin Carrière which does not have ticked the option "User Existing Lots/Serial Numbers". I have successfully entered the Lot00115 with a purchasing date and a number of bags.

When I then see the LOT00115 in the Inventory App Master Data, the date and bags are not available:

image

dastcaboz commented 2 years ago

Looks good to me. Just some small corretions for more user comfort.

Bildschirmfoto 2021-10-04 um 08 47 59
candidroot commented 2 years ago

@treviser please take latest pull and check it thanks

dastcaboz commented 2 years ago

Layout is now much better.

Still issues:

1) Lot number should not be editable but created automatically by odoo.

Bildschirmfoto 2021-10-04 um 12 09 51

2) After saving the form, the date of purchase and the number of bags disappear again.

Bildschirmfoto 2021-10-04 um 12 08 49
dastcaboz commented 2 years ago

The bags and the purchase date do not appear in mobile view.

Bildschirmfoto 2021-10-04 um 12 23 41

candidroot commented 2 years ago

@treviser I committed code please take latest pull and upgrade module then check it, is there any issue then let me know, thanks

treviser commented 2 years ago

@candidroot As far as I remember, it works on the test database, but we urgently have to fix the problem with updating the app on the prod database caboz2

treviser commented 2 years ago

@dastcaboz Can you please check on caboz2 without polluting the prod database?

dastcaboz commented 2 years ago

Seems to work. Issue #36

dastcaboz commented 2 years ago

But is still not properly displayed in mobile view. The subform in the tap "Detailled operation" is invisible.

IMG_5A80943CA12F-1